Boolean
From Xojo Documentation
Data Type
Boolean is an intrinsic data type. A Boolean can only take on the values of True or False. The default value is False.
Notes
A Boolean is a variable that can have one of two values. In Xojo, the values are True or False. You can think of True as the equivalent of Yes or On, whereas False is equivalent to No or Off.
Boolean values are False by default but can be set to True using the True keyword and back to False using the False keyword.
The VarType function returns 11 when passed a Boolean variable.
Sample Code
Declares a Boolean variable and sets its value to True:
The following statement disables a TextField:
TextField1.Enabled = False
See Also
False, True, VarType functions; And, Not, Or, Xor operators; Var, Static statements; VarType functions;