Important: The information in this document is obsolete and should not be used for new development.
BitXor
You can use theBitXor
function to perform theXOR
logical operation on two long words.
FUNCTION BitXor (value1, value2: LongInt): LongInt;
value1
- A long word.
value2
- A long word.
DESCRIPTION
TheBitXor
function returns a long word that is the result of performing theXOR
operation on the long words specified by thevalue1
andvalue2
parameters. Each bit in the returned value is set if and only if the corresponding bit is set in eithervalue1
orvalue2
, but not in bothvalue1
andvalue2
.SEE ALSO
For an illustration of the result of performing an operation using theBitXor
function, see Figure 3-9 on page 3-16.