contents   index   previous   next

Boolean type

Booleans may have only one of two possible values: false or true. Since ScriptEase automatically converts values when appropriate, Booleans can be used as they are in languages such as C. Namely, false is zero, and true is non-zero. A script is more precise when it uses the actual ScriptEase values, false and true, but it will work using the concepts of zero and not zero. When a Boolean is used in a numeric context, it is converted to 0, if it is false, and 1, if it is true.


String type