In Script BASIC, FALSE = 0 and TRUE = -1. TRUE/FALSE are SB keywords with predefined values.
T = 10
IF T = NOT FALSE THEN
PRINT T,"\n"
END IF
The idea to check
anything against
literal TRUE or FALSE is surrealistic, numeric representation dependent, and bug prone. I would even call it "bad programming practice".
Instead,
N = 10
IF N THEN ' evaluates to TRUE for any N except N = 0 in any language
....
and
N = 0
IF NOT N THEN ' evaluates to TRUE only for N = 0 in any language
....
is independent of actual numeric representation of TRUE in a language, be it -1 or +1 or -1M or +1M, whatever.
The only practical case of seeing what TRUE evaluates to numerically in a given language I ever needed was
A = 10: B = 10
PRINT A = B ' would print -1 in O2 and SB but 1 in FBSL, C/C++/C#, VB6, VB.NET, etc.
....
OTAs to the discussion on BP.org about language popularity, PHP and JavaScript are the most widely used languages in todays computing. The desktop is no longer king.
I think your sentence definitely misses a tongue smiley.
As far as I am concerned, flooding the world with web pages generated from templates in WYSIWYG IDEs for handheld gimmiks and wifi aware dishwashing machines has nothing to do with
computing.
The entire world order could have worked in the exact same way if there were IUP instead of HTML, C instead of PHP, and SB instead of JS. You have overslept your glory moments, John.