Changes

Jump to navigation Jump to search

True

186 bytes added, 11:27, 19 February 2012
no edit summary
A logical (Boolean) value. Logical values are used in logical (Boolean) expressions and for true/false inputs.
==== Usage ====
<syntaxhighlight>True</syntaxhighlight>
==== Example ==Notes ==<syntaxhighlight>True Or * Also see [[False will return a ]] for the logical false Boolean value of True.* See [[And]] and [[Or]] for combining true/false expressions in one statement.
2=2 will = Examples ==<syntaxhighlight>True Or False</syntaxhighlight>Will return a value of True</syntaxhighlight> .
Declare LogicalVar as <syntaxhighlight>2=2</syntaxhighlight> will return a true/false variable with the initial value of true: True
<syntaxhighlight>Variable:Declare ''LogicalVar(True);<'' as a true/syntaxhighlight>false variable with the initial value of true:
Declare Overnight as a true<syntaxhighlight>Variable: LogicalVar(True);</false input with the default value of true: syntaxhighlight>
<syntaxhighlight>Input:Declare ''Overnight(True);<'' as a true/syntaxhighlight> false input with the default value of true:
<syntaxhighlight>Input: Overnight(True);</syntaxhighlight>
[[Category:Comparisons and Loops]]

Navigation menu