OR function
OR function
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
See also
Returns TRUE (1) if any of the logical expressions are TRUE.
Syntax
OR(logicalexpression1,logicalexpression2,...,logicalexpressionN) |
Remarks
Any expression that evaluates to a non-zero value is considered TRUE. If all of the logical expressions are FALSE or equal 0, this function returns FALSE.
Example
OR(Height > 1,PinX > 1)
Returns TRUE (1) if either expression is TRUE. Returns FALSE (0) only if both expressions are FALSE.