1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00
QB64-PE/internal/help/EQV.txt
2017-10-10 11:55:21 -03:00

21 lines
472 B
Plaintext

The [[EQV]] operator returns a value based on the ''equivalence'' of two conditions or values.
{{PageSyntax}}
: {{Parameter|result}} = {{Parameter|firstValue}} [[EQV]] {{Parameter|secondValue}}
{{PageDescription}}
* 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.
{{Template:LogicalTruthTable}}
{{PageSeeAlso}}
* [[Binary]]
* [[Boolean]]
{{PageNavigation}}