EQV

From QB64 Phoenix Edition Wiki
Revision as of 14:46, 20 April 2022 by SMcNeill (talk | contribs) (Created page with "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}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The EQV operator returns a value based on the equivalence of two conditions or values.


Syntax

result = firstValue EQV secondValue


Description

  • 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


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link