OR
Welcome to our Knowledge Base
Documentation | Blog | Demos | Support
< All Topics
Print
OR
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
Performs a Boolean OR of two logic expressions.
Syntax
expression1 OR expression2
Parameters
expression1 | A logic expression using conditional and Boolean operators. If the expression is complex, it must be enclosed in parentheses. |
expression2 | A logic expression using conditional and Boolean operators. If the expression is complex, it must be enclosed in parentheses. |
Return Value
Logical, as follows:
Truth Table for Boolean OR | Expression1 | ||
True | False | ||
Expression2 | True | True | True |
False | False | False |
Example
The following expression is logically false only if Salary is 30,000 and Bonus is 0. In all other cases, the expression is logically true.
Salary <> 30000 or Bonus <> 0
See Also
Updated
ByJason Lee
Was this article helpful?
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
5