• Reference Guide

Exclusive Or

x ^ y
The operator computes logical non-equivalence (the logical operation “exclusive or”). The parameters can be either of type Bool or of an integer type (Int, Int8, Int16, Int64, Byte, Word, Dword, Qword). For the Bool type, the result is TRUE, when exactly one parameter is TRUE, otherwise FALSE. For integer types, the operation is performed on the individual bits.