Topic : The GFA-Basic Compendium Author : GFA Systemtechnik GmbH Version : GFABasic.HYP v2.98 (12/31/2023) Subject : Documentation/Programming Nodes : 899 Index Size : 28056 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : @default : Document not found @help : Help @options : +g -i -s +z @width : 75 @hostname : STRNGSRV @hostname : CAB @hostname : HIGHWIRE @hostname : THING View Ref-Filex EQV y x, y: iexp The operator EQV (Equivalence) produces a TRUE result only if the arguments are both TRUE or both FALSE. EQV works at the bit level and sets the bits which are same in both arguments. This is exactly the opposite of XOR, so x EQV y is the same as NOT (x XOR y). x | y | x EQV y --|---|-------- T | T | T T | F | F F | T | F F | F | T Example: PRINT TRUE EQV FALSE PRINT FALSE EQV FALSE --> On the screen the numbers 0 and -1 appear. x=3 y=10 PRINT BIN$(x,4) PRINT BIN$(y,4) PRINT BIN$(x EQV y,4) --> Displays 0011, 1011, and 0110 on the screen.