Node:Boolean (Intrinsic), Next:Pointer (Intrinsic), Previous:File Types, Up:Data Types
The intrinsic Boolean represents boolean values, i.e. it can only assume
true and false (which are predefined constants). This type corresponds to
the enumerated type
type Boolean = (False, True);Since it is declared this way, it follows:
Ord (False) = 0 Ord (True) = 1 False < TrueThere are four intrinsic logical operators. The logical
and
,
or
and not
. In Borland Pascal and GNU Pascal, there is
a logical "exclusive or" xor
.