[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### 8.2.8 Boolean (Intrinsic)

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 < True

There are four intrinsic logical operators. The logical `and`, `or` and `not`. In Borland Pascal and GNU Pascal, there is a logical "exclusive or" `xor`.

### See also

section 8.2.10.2 Enumerated Types, section 9.7 and, section 9.180 or, section 9.173 not, section 9.308 xor

This document was generated by Frank Heckenbach on May, 10 2002 using texi2html