Difference between revisions of "Or"
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]] if one or 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]] if one or both of its operands are true. Logical operators are used in logical (Boolean) expressions that operate with true/false values. | ||
− | + | ==== Usage ==== | |
+ | <syntaxhighlight>E1 Or E2</syntaxhighlight> | ||
+ | |||
+ | Where: [[E]] - true/false expressions | ||
==== Example ==== | ==== Example ==== |
Revision as of 13:12, 13 February 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