operator

- Return type:
- Integer
- Returns:
- A bit sequence.

numeric-expression union numeric-expression

The `union`

of two bit sequences is a new sequence where each bit is:

- 1 if the corresponding bit in either of the operands is 1
- 0 if the corresponding bit in both of the operands is 0

Other languages sometimes refer to this as the "bit-wise or" because the operation is analogous to the logical "or" operation. OmniMark reserves `or`

and the operator `|`

for the logical "or" operation in order to avoid confusion.

This code fragment turns on the lowest order bit in c:

set c to union 1