Truth Table for Logical Operators
Each operator returns results as indicated below. A "T" indicates a true
value and an "F" indicates a false value. Operators are listed in order of
operator precedence.
Values of Value Returned by Logical Operator
X X X X X
NOT AND OR XOR EQV IMP
X Y X Y Y Y Y Y
T T F T T F T T
T F F F T T F F
F T T F T T F T
F F T F F F T T