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 = &H22
x Or= &H8
After execution
variablevalue
x42

See also