EXOR
Performs a Logical exclusive OR of two expressions.
numeric-expression EXOR numeric-expression
Usage:
I=1 EXOR 0
IF Former EXOR Latter THEN Do
IF A<B EXOR C=D THEN PRINT "ONLY ONE CONDITION IS TRUE"
Example:
EXOR.BAS
Description:
A
EXOR
B returns a one if exactly one of A or B is non-zero and a zero if A and B are both zero or both non-zero.
See Also:
AND
,
OR
,
NOT