Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

Or Operator

Used to perform a logical disjunction on two expressions.

Synopsis

result = expression1 Or expression2

Arguments

The Or operator syntax has these parts:

result Any numeric variable.
expression1 Any expression.
expression2 Any expression.

Description

If either or both expressions evaluate to True, result is True. The following table illustrates how result is determined:

If expression1 is If expression2 is The result is
True True True
True False True
False True True
False False False

See Also

FeedbackOpens in a new tab