Boolean Data Type

Holds values that can be only true or false.


Default value
When you declare a variable of type Boolean and leave it uninitialized, its value is false.
Type characters
Boolean has no type characters.

Type conversion

When you convert a Boolean value to an integer value, the result can be different on different implementations. The compiler defines two integer equates, %TRUE and %FALSE, which hold an implementation's values for true and false.

Shared methods and properties

Boolean.False As Boolean
Returns the value that is false.
Boolean.True As Boolean
Returns the value that is true.


Dim foo As Boolean