Or= Operator

Does inclusive logical disjunction on the value of a variable and the value of an expression, then changes the variable to the result.

Syntax

variable Or= expression

Parts

variable
A numeric variable
expression
A numeric expression

Instructions

The two statements that follow operate the same.

variable Or= expression
variable = variable Or expression

Examples

x = %X22
x Or= %X8
After run
variablevalue
x42

See also