Difference between revisions of "False"

From MultiCharts
Jump to navigation Jump to search
Line 7: Line 7:
 
<syntaxhighlight>False And True  will return a value of False  
 
<syntaxhighlight>False And True  will return a value of False  
  
2=1  will return a value of False  
+
2=1  will return a value of False</syntaxhighlight>
  
 
Declare LogicalVar as a true/false variable with the initial value of false:  
 
Declare LogicalVar as a true/false variable with the initial value of false:  
  
Variable:LogicalVar(False);
+
<syntaxhighlight>Variable:LogicalVar(False);</syntaxhighlight>
  
 
Declare Overnight as a true/false input with the default value of false:  
 
Declare Overnight as a true/false input with the default value of false:  
  
Input:Overnight(False);</syntaxhighlight>
+
<syntaxhighlight>Input:Overnight(False);</syntaxhighlight>
  
 
[[Category:Comparisons and Loops]]
 
[[Category:Comparisons and Loops]]

Revision as of 13:16, 26 January 2012

A logical (Boolean) value. Logical values are used in logical (Boolean) expressions and for true/false inputs.

Usage

False

Example

False And True  will return a value of False 

2=1  will return a value of False

Declare LogicalVar as a true/false variable with the initial value of false:

Variable:LogicalVar(False);

Declare Overnight as a true/false input with the default value of false:

Input:Overnight(False);