+1 888 340 6572

False: Difference between revisions

From MultiCharts
(Created page with "A logical (Boolean) value. Logical values are used in logical (Boolean) expressions and for true/false inputs. ==== Usage ==== False ==== Example ==== [[False And Tr...")
 
No edit summary
Line 2: Line 2:


==== Usage ====
==== Usage ====
[[False]]
<syntaxhighlight>False</syntaxhighlight>
   
   
==== Example ====
==== Example ====
[[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  


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:  


<syntaxhighlight>Variable:LogicalVar(False);</syntaxhighlight>
Variable:LogicalVar(False);


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:  


<syntaxhighlight>Input:Overnight(False);</syntaxhighlight>
Input:Overnight(False);</syntaxhighlight>


[[Category:Comparisons and Loops]]
[[Category:Comparisons and Loops]]

Revision as of 12:39, 20 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);