Caché Basic Reference
Xor Operator
[Home] [Back] [Next]
InterSystems: The power behind what matters   

Used to perform a logical exclusion on two expressions.
result = expression1 Xor expression2
The Xor operator syntax has these parts:
result Any numeric variable.
expression1 Any expression.
expression2 Any expression.
The result is determined according to the following table:
If expression1 is If expression2 is The result is
True True False
True False True
False True True
False False False
See Also

Send us comments on this page
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA