10 REM LOGICAL 'XOR' TEST PROGRAM
20 A = 6
30 B = 8
40 IF A=3 XOR B=8 THEN 70
50 PRINT "XOR FAILED THE TEST AS A LOGICAL OPERATOR"
60 GOTO 99
70 IF A=6 XOR B=8 THEN 90
80 PRINT "XOR PASSED THE LOGICAL OPERATOR TEST"
85 GOTO 99
90 PRINT "XOR FAILED THE 'EXCLUSIVE OR' TEST"
99 END
