+1 888 340 6572

False: Difference between revisions

From MultiCharts
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
A logical (Boolean) value. Logical values are used in logical (Boolean) expressions and for true/false inputs.   
A logical (Boolean) value. Logical values are used in logical (Boolean) expressions and for true/false inputs.   


==== Usage ====
== Usage ==
<syntaxhighlight>False</syntaxhighlight>
<syntaxhighlight>False</syntaxhighlight>
   
   
==== Example ====
== Notes ==
<syntaxhighlight>False And True will return a value of False
* Also see [[True]] for the logical true Boolean value.
* See [[And]] and [[Or]] for combining true/false expressions in one statement.


2=1  will return a value of False  
== Examples ==
<syntaxhighlight>False And True</syntaxhighlight>
Will return a value of False.


Declare LogicalVar as a true/false variable with the initial value of false:
<syntaxhighlight>
2 = 1</syntaxhighlight>
Will return a value of False.


Variable:LogicalVar(False);
Declare ''LogicalVar'' as a true/false variable with the initial value of false:  


Declare Overnight as a true/false input with the default value of false:
<syntaxhighlight>Variable: LogicalVar(False);</syntaxhighlight>


Input:Overnight(False);</syntaxhighlight>
Declare ''Overnight'' as a true/false input with the default value of false:
 
<syntaxhighlight>Input: Overnight(False);</syntaxhighlight>


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

Latest revision as of 11:27, 19 February 2012

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

Usage

False

Notes

  • Also see True for the logical true Boolean value.
  • See And and Or for combining true/false expressions in one statement.

Examples

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);