Difference between revisions of "Or"
Jump to navigation
Jump to search
(Created page with "A logical (Boolean) operator that returns True if one or both of its operands are true. Logical operators are used in logical (Boolean) expressions that operate with true/...") |
|||
Line 7: | Line 7: | ||
==== Example ==== | ==== Example ==== | ||
− | <syntaxhighlight>2=1 Or 2>2 | + | <syntaxhighlight>2=1 Or 2>2 will return a value of False |
− | + | True Or False Or False will return a value of True </syntaxhighlight> | |
Revision as of 12:40, 20 January 2012
A logical (Boolean) operator that returns True if one or both of its operands are true. Logical operators are used in logical (Boolean) expressions that operate with true/false values.
Usage
E1 Or E2
Where: E - true/false expressions
Example
2=1 Or 2>2 will return a value of False
True Or False Or False will return a value of True