Boolean

The logical Boolean type consists of two logical values: True and False.

NOTE. Inheritance from class of the Boolean base type is forbidden.

Operators

Logical operators and relation operators are available for two logical variables. The NOT unary operator is also available for a logical variable.

Example

Sub SampleBoolean;
Var
    b: Boolean;
Begin
    b := True;
    Debug.WriteLine(b);
    b := 1 < 0;
    Debug.WriteLine(b);
    b := Boolean.Parse("TRUE");
    Debug.WriteLine(b);
    b := Not b;
    Debug.WriteLine(b);
End Sub SampleBoolean;

See also:

Data Types | Boolean Class