Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
boolean_value_type [2013/08/08 03:25] admin |
boolean_value_type [2013/08/08 03:26] admin |
||
---|---|---|---|
Line 8: | Line 8: | ||
The boolean editor uses a switch marking "Yes" to represent the true value and "No" to represent the value false value. | The boolean editor uses a switch marking "Yes" to represent the true value and "No" to represent the value false value. | ||
- | |||
- | ===== Automatic Conversions ===== | ||
- | |||
- | * **Converted from**: [[Double Type]], [[Int Type]], [[Non Negative Int Type]] and [[Positive Int Type]]: non-zero values are converted to True and zero values are converted to False. | ||
- | |||
- | * **Converted to**: [[Double Type]], [[Int Type]], [[Non Negative Int Type]], [[Positive Int 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". | ||
===== EGO Script ===== | ===== EGO Script ===== | ||
Line 24: | Line 18: | ||
By default, Dinamica EGO writes boolean values using the ''.yes''/''.no'' representation. | By default, Dinamica EGO writes boolean values using the ''.yes''/''.no'' representation. | ||
+ | |||
+ | ===== Automatic Conversions ===== | ||
+ | |||
+ | * **Converted from**: [[Double Type]], [[Int Type]], [[Non Negative Int Type]] and [[Positive Int Type]]: non-zero values are converted to True and zero values are converted to False. | ||
+ | |||
+ | * **Converted to**: [[Double Type]], [[Int Type]], [[Non Negative Int Type]], [[Positive Int 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". | ||
+ |