BOOL (Reserved Word)
The bool reserved word used in a variable declaration statement to explicitly set the data type of a variable to boolean. The data type of a variable in the main body of an EasyLanguage document is automatically set to boolean if the initial value parameter is true or false.
A variable of this type can have values true and false. Conditional expressions have the type bool and represent boolean values. For example, i!=0 has the boolean value of true or false depending on the value of i.
Remarks
The bool keyword is an alias of the elsystem.boolean class and allows you to use the methods associated with that class (such as .tostring) on variables declared with the bool data type.
Example
In the main body of a document:
Var: BOOL MyVar1(false); // in this case, the data type is optional and the initial value is required
In a method:
Var: bool MyVar2; // in this case, the data type is required and no initial value is allowed
See Variable for other syntax parameters.