Next: , Previous: Fail, Up: Reference



False

Synopsis

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

Description

False is one of the two Boolean values and is used to represent a condition which is never fullfilled. For example, the expression, 1 = 2 always yields False. It is the opposite of True. False has the ordinal value 0.

Conforming to

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

Example

     program FalseDemo;
     
     var
       a: Boolean;
     
     begin
       a := 1 = 2;  { yields False }
       WriteLn (Ord (False));  { 0 }
       WriteLn (a);  { False }
       if False then WriteLn ('This is not executed.')
     end.

See also

Boolean (Intrinsic), True, Boolean.