Examples of BOOLEAN Declarations

The following example declares BOOL as a Boolean simple variable.

BOOLEAN BOOL

The following example declares DONE and ENDOFIT as Boolean simple variables. Because they are declared as OWN, these simple variables retain their values when the program exits the block in which the simple variables are declared.

OWN BOOLEAN DONE, ENDOFIT

The following example declares FLAG and BINT as Boolean simple variables, and address-equates BINT to the previously declared simple variable INTGR. The variables BINT and INTGR share the same address.

BOOLEAN FLAG, BINT = INTGR