EQV - mkilgore/QB64pe GitHub Wiki
The EQV operator returns a value based on the equivalence of two conditions or values.
- result = firstValue EQV secondValue
- Returns true (-1) when both values are the same (equivalent).
- Turns a bit on if both bits are the same, turns a bit off if both bits are different.
The results of the bitwise logical operations, where A and B are operands, and true or false indicate whether a bit is set or not set:
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
Relational Operations return negative one (-1, all bits set) and zero (0, no bits set) for true and false, respectively. This allows relational tests to be inverted and combined using the bitwise logical operations. | ||||||||||||||||||||||||||||||||||||||||||||||||
Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page