Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
boolean_value_type [2013/08/08 03:26] admin |
boolean_value_type [2015/10/11 23:03] admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Bool Type ====== | + | ====== Boolean Value Type ====== |
A [[wp>Boolean_value|boolean]] denotes two possible values: True (meaning yes) and False (meaning no). | A [[wp>Boolean_value|boolean]] denotes two possible values: True (meaning yes) and False (meaning no). | ||
Line 11: | Line 11: | ||
===== EGO Script ===== | ===== EGO Script ===== | ||
- | Boolean values can be denoted using several diferente representations: | + | Boolean values can be denoted using several different representations: |
^ Value ^ Representation ^ | ^ Value ^ Representation ^ | ||
Line 21: | Line 21: | ||
===== Automatic Conversions ===== | ===== 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 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**: [[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". | + | * **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". |