Or Operator

For Boolean expressions, returns “true” if one or more expressions are true. For integer expressions, does a bitwise OR operation.

Syntax

expression_1 Or expression_2

Parts

expression_1
A Boolean or integer expression.
expression_2
A Boolean or integer expression.

Instructions

Truth table for expression_1 Or expression_2
If expression_1 is And expression_2 is The result is
TrueTrueTrue
TrueFalseTrue
FalseTrueTrue
FalseFalseFalse
If the bit in expression_1 is And the bit in expression_2 is The bit in the result is
111
101
011
000

Examples

TODO2

See also