Previous Topic: OR Operator

Next Topic: String Concatenation Operator

Exclusive OR Operator

The exclusive OR (XOR) operator takes two Boolean operands and returns TRUE if either operand is TRUE, but not both. This operator is usually used to connect two comparisons.

Examples:

(1 > 2) XOR ("JUAN" ~= "JUAN")
Result = TRUE

(1 < 2) XOR ("JUAN" ~= "JUAN")
Result = FALSE

More information:

NOT Operator

AND Operator

OR Operator


Copyright © 2010 CA. All rights reserved. Email CA about this topic