mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-28 11:17:47 +00:00
21 lines
473 B
Text
21 lines
473 B
Text
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}}
|