Boolean

Parent Previous Next

Boolean.

The Boolean type represents the logical values True or False.


Type Specification.

Details of the type and the supported operators:


Category

Description

Default

Standard Type

Expresses either True or False.

False


Category

Operators

Primary

x.y   foo(x)

Equality

==   <>

Logical

not

and

xor

or


Assignment

:=  


Example:


 Boolean A := True, B := False, C;

 C := ((Not B) And A) Xor B; //Now C == True;

 //Due to operator precedence, brackets are

 //actually not necessary in this example.



Standard Functions.

This chapter contains descriptions on the next pages of all the standard functions recognized by the compiler as member-functions of the Boolean type.