Bool Data Type

Bool data type is used to store a boolean value of True or False.

The value is stored in a 2 byte signed integer (Short) that holds a value of True (-1) or False (0) with default value of False.

Assigning an integer to a boolean will cause its value to be True if the integer is different than 0 and False 0 if it is 0.

See Also

Basic Data Types, Data Conversion, Numeric, Strings, User Defined Date Types