XOR
XOR yields TRUE if at least one value is TRUE:- TRUE xor TRUE = FALSE
- TRUE xor FALSE = TRUE
- FALSE xor TRUE = TRUE
- FALSE xor FALSE = FALSE
// The statement is executed only if exacty one condition is true: if (A = 1) XOR (B = 2) then writeln('Bingo!');Source: Reserved Words