March 2000
Intermediate to advanced
576 pages
18h 13m
English
ByteBool Type
type ByteBool;
The ByteBool
type is a logical type whose size is the
same as the size of a Byte. A
ByteBool value is False when
its ordinal value is zero, and it is True when its
ordinal value is any non-zero value. ByteBool uses
-1 as the ordinal value for True constants, e.g.,
ByteBool(True).
You can use a ByteBool 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.
WordBool and LongBool are
similar to ByteBool, but they have different
sizes.
| And Keyword, Boolean Type, LongBool Type, Not Keyword, Or Keyword, WordBool Type, Xor Keyword |
Read now
Unlock full access