Difference between revisions of "True"
Jump to navigation
Jump to search
m (→Examples) |
|||
Line 13: | Line 13: | ||
<syntaxhighlight> | <syntaxhighlight> | ||
− | 2=2</syntaxhighlight> | + | 2 = 2</syntaxhighlight> |
will return a value of True | will return a value of True | ||
Latest revision as of 11:27, 19 February 2012
A logical (Boolean) value. Logical values are used in logical (Boolean) expressions and for true/false inputs.
Usage
True
Notes
- Also see False for the logical false Boolean value.
- See And and Or for combining true/false expressions in one statement.
Examples
True Or False
Will return a value of True.
2 = 2
will return a value of True
Declare LogicalVar as a true/false variable with the initial value of true:
Variable: LogicalVar(True);
Declare Overnight as a true/false input with the default value of true:
Input: Overnight(True);