Difference between revisions of "And"
Jump to navigation
Jump to search
(→Usage) |
m (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138) |
||
Line 1: | Line 1: | ||
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. | 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 ==== | |
+ | <syntaxhighlight>E1 And E2</syntaxhighlight> | ||
+ | Where: [[E]]- true/false expressions | ||
+ | |||
==== Example ==== | ==== Example ==== | ||
<syntaxhighlight>2=1 And 2=2 will return a value of False | <syntaxhighlight>2=1 And 2=2 will return a value of False |
Revision as of 12:43, 13 February 2012
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
E1 And E2
Where: E- true/false expressions
Example
2=1 And 2=2 will return a value of False
True And True And True will return a value of True