Boolean Value Type
A boolean denotes two possible values: True (meaning yes) and False (meaning no).
GUI Editor
The boolean editor uses a switch marking “Yes” to represent the true value and “No” to represent the value false value.
EGO Script
Boolean values can be denoted using several different representations:
Value | Representation |
---|---|
True | .yes .true |
False | .no .false |
By default, Dinamica EGO writes boolean values using the .yes
/.no
representation.
Automatic Conversions
- Converted from: Real Value Type, Integer Value Type, Non Negative Integer Value Type and Positive Integer Value Type: non-zero values are converted to True and zero values are converted to False.
- Converted to: Real Value Type, Integer Value Type, Non Negative Integer Value Type, Positive Integer Value Type and Null Value Type: True is converted to one and False to zero. String Type: True is converted to “true” and False to “false”.