Node:Boolean, Next:, Previous:BlockWrite, Up:Reference



Boolean

Synopsis


type
  Boolean = (False, True); { built-in type }

Description

The intrinsic Boolean represents boolean values, i.e. it can only assume the two values True and False (which are predefined constants).

Conforming to

Boolean is defined in ISO 7185 Pascal and supported by all known Pascal variants.

Example


program BooleanDemo;
var
  a: Boolean;
begin
  a := True;
  WriteLn (a)
end.

See also

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