Changes

Jump to navigation Jump to search

True

258 bytes added, 11:27, 19 February 2012
m
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 .
Declare LogicalVar as <syntaxhighlight>2 = 2</syntaxhighlight> will return a true/false variable with the initial value of true: True
VariableDeclare ''LogicalVar'' as a true/false variable with the initial value of true:LogicalVar(True);
Declare Overnight as a true<syntaxhighlight>Variable: LogicalVar(True);</false input with the default value of true: 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