Truth Table for Logical Operators
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Truth Table for Logical Operators
■ Each operator returns results as indicated below. "T" indicates a true
value and "F" indicates a false value. Operators are listed in order of
precedence.
Values Value Returned by Logical Operator
═════════ ═════════════════════════════════════════════════════════════
X Y NOT X X AND Y X OR Y X XOR Y X EQV Y X IMP 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
─────────────────────────────────────────────────────────────────────────
See: ◄Expressions and Operators Summary► ◄Logical Operators►