Anonymous user
True: Difference between revisions
From MultiCharts
→Example
Line 5: | Line 5: | ||
==== Example ==== | ==== Example ==== | ||
[[True Or False]] will return a value of [[True]] | |||
2=2 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: | Declare [[LogicalVar]] as a true/false variable with the initial value of true: | ||
Variable:LogicalVar(True); | <syntaxhighlight>Variable:LogicalVar(True);</syntaxhighlight> | ||
Declare Overnight as a true/false input with the default value of true: | Declare Overnight as a true/false input with the default value of true: | ||
Input:Overnight(True);</syntaxhighlight> | <syntaxhighlight>Input:Overnight(True);</syntaxhighlight> | ||
[[Category:Comparisons and Loops]] | [[Category:Comparisons and Loops]] |