Purpose |
The OR operator works as both a logical and a bitwise arithmetic operator. | ||||||||||||||||||

Syntax |
| ||||||||||||||||||

Remarks |
OR returns TRUE (non-zero) if and only if either or both of its operands is TRUE. Here is OR's truth table:
An OR mask sets selected bits of an
| ||||||||||||||||||

See also |
Arithmetic Operators, AND, EQV, IMP, ISFALSE, ISTRUE, NOT, XOR |