March 2000
Intermediate to advanced
576 pages
18h 13m
English
WordBool Type
type WordBool;
The WordBool type is a logical type whose size is
the same as the size of a Word. A
WordBool value is False when
its ordinal value is zero, and it is True when its
ordinal value is any non-zero value. WordBool uses
-1 as the ordinal value for True constants, e.g.,
WordBool(True).
You can use a WordBool value anywhere you can use
a Boolean. It is most useful when interfacing with
C and C++, where any non-zero integer is considered
True.
ByteBool and LongBool are
similar to WordBool, but they have different
sizes.
| And Keyword, Boolean Type, ByteBool Type, LongBool Type, Not Keyword, Or Keyword, Xor Keyword |
Read now
Unlock full access