Nope, no Booleans. "True" and "False" are just keyword-recognised constants for 1 and 0 respectively.
Further:
The conditional ("If") statement considers zero to be false, and any non-zero integer value to be true. Floats and strings are implicitly cast to int, in line with the usual implicit casting rules (better guideline: never use a float or string as a boolean). Unlike in C and C-like languages, pointers to objects of custom type ("Local myFoo.Foo" etc.) cannot be used as truth values (nor can they be used as the argument to a Select structure, oddly, even though that's not boolean). Comparison operators (=, <>, <, ...) return an integer 1 or 0.
|