Or (Function)

Gets the logical sum of 2 expressions.

<Expression 1> Or <Expression 2>

Parameters
<Expression 1>
The expression (integer type) that requests the logical sum.
<Expression 2>
The expression (integer type) that requests the logical sum.

Return Value
Returns the value of the integer.
The content of the value is the logical sum of the 2 expressions.

Description
It can also be used in an If statement as an Or condition.Refer to refCalculation - Macro Program Rules for details on logical expressions.
Values from -2147483648 to 2147483647 can be specified for <Expression 1> and <Expression 2>.
When the values of <Expression 1> and <Expression 2> are double-precision type, the fractional part is handled as a rounded value.

Example
Get the logical sum of Value EXP1 and Value EXP2.
      EXPALL&=EXP1& Or EXP2&
The result is as follows:(When EXP1=1 and EXP2=4)
EXPALL&=5