Optimization
Optimization with QB Logic
Use of EQV

EQV checks that both values are true OR false:


IF (A = 6 AND B = 4) OR (A <> 6 AND B <> 4) THEN...
This is a real mess. It can be replaced by:

IF A = 6 EQV B = 4 THEN..."


X Y EQV
--------------------
T T T
T F F
F T F
F F T
-Agamemnus


LogicChapterD - page last edited 2003-08-15 13:59:23 by 172.128.164.129 (home) (edit)
Blast WIKI - by RoboticBoy - edited and tweaked for our evil purposes by Hexadecimal Disaster