Description:
Used to perform a logical disjunction on two expressions.
Syntax:
result = expression1 Or expression2
Note:
If at least one expression evaluates to
true, then result is
true. The result is determined according to the following table:
expression1: | expression2: | result: |
---|
true | true | true |
---|
true | false | true |
---|
false | true | true |
---|
false | false | false |
---|
The operator performs a bitwise comparison of identically positioned bits in two
numeric expressions and sets the corresponding bit in result according to the following table:
If bit in expression1 is: | and bit in expression2 is: | then bit in result is: |
---|
0 | 0 | 0 |
---|
0 | 1 | 1 |
---|
1 | 0 | 1 |
---|
1 | 1 | 1 |
---|