XOr

Description:              This function returns the bitwise exclusive OR of its parameters.

Returns:                    Numeric

Usage:                       Script or Steady State

Format:                      XOr(Parm1, Parm2)

Parameters:             Parm1, Parm2    { numeric }  { required }  { no default: }

                                                Any numeric expressions. If floating point values are supplied, they will be truncated to integers.

Comments:               This functions returns the 32 bit bitwise exclusive OR (XOR) of its arguments.

Example:

var1 = XOr(0b1100, 0b1010);

The value of var1 will be 0b0110.

See Also:

And | Not | Or