Node:CBoolean, Next:Char, Previous:case, Up:Reference

### CBoolean

(Under construction.)

#### Synopsis

    type
      CBoolean  { built-in type }

#### Description

`CBoolean` is a Boolean type. In GNU Pascal it is compatible to `_Bool` in GNU C (which is defined as `bool` in `stdbool.h`). This compatibility is the reason why `CBoolean` exists.

#### Conforming to

`CBoolean` is a GNU Pascal extension.

#### Example

    program CBooleanDemo;
    var
      a: CBoolean;
    begin
      a := True;
      if Ord (a) = 1 then WriteLn ('Ord (True) = 1')
    end.

#### See also

Boolean (Intrinsic), Integer Types, Boolean, True, False, ByteBool, ShortBool, MedBool, WordBool, LongBool, LongestBool.