Or

(Engine-Level Function)

Description: Performs a bit-wise OR operation and returns the result.
Returns: Signed 64-bit integer
Usage: Script or steady state.
Function Groups: Bitwise Operation
Related to: Not | XOr | And
Format: Or(Parm1, Parm2[, Parm3...])
Parameters:  
Parm1, Parm2[, Parm3 ...])
Required. Any number of numeric expressions. The expressions will be truncated to 32 bit unsigned integers.
Comments:

The OR operation takes two binary numbers and compares their bits. Each corresponding bit in the result is 1 if at least one of the corresponding bits is 1. If both bits are 0, the corresponding bit in the result is 0.

This function takes signed 64-bit integers values. If a number is passed outside the range of a signed 64-bit integer, then the function will return invalid. If Value is invalid, the return value is invalid.

(See: Bitwise Parameters & Operations)

Example:

newVal = Or(0b1010, 0b1100);

The value of newVal will be 0b1110.