Anonymous user
And: Difference between revisions
From MultiCharts
no edit summary
(Created page with "A logical (Boolean) operator that returns <syntaxhighlight>True</syntaxhighlight> only if both of its operands are true. Logical operators are used in logical (Boolean) expres...") |
No edit summary |
||
Line 1: | Line 1: | ||
A logical (Boolean) operator that returns | A logical (Boolean) operator that returns [[True]] only if both of its operands are true. Logical operators are used in logical (Boolean) expressions that operate with true/false values. | ||
==== Usage ==== | ==== Usage ==== | ||
<syntaxhighlight>E1 And E2</syntaxhighlight> | <syntaxhighlight>E1 And E2</syntaxhighlight> | ||
Where: | Where: [[E]]- true/false expressions | ||
==== Example ==== | ==== Example ==== | ||
2=1 | <syntaxhighlight>2=1 And 2=2 will return a value of False | ||
True And True And True | True And True And True will return a value of True</syntaxhighlight> | ||
[[Category:Comparisons and Loops]] | [[Category:Comparisons and Loops]] |