IMP
From QB64.org wiki
The IMP logical operator converts the result of two comparative values and returns a bit result.
Contents |
Syntax
- result = firstValue IMP secondValue
Description
- Returns a different result from AND, OR or XOR.
- Evaluates if firstValue implies secondValue.
- If firstValue is true then secondValue must also be true.
- So if firstValue is true, and secondValue false, then the condition is false, otherwise it is true (see table below).
Operands Operations A B NOT B A AND B A OR B A XOR B A EQV B A IMP B T T F T T F T T T F T F T T F F F T F F T T F T F F T F F F T T
See also