Operators > ^(bitwise XOR)
^(bitwise XOR)Syntax
expression1
^expression2
Arguments
expression1,expression2
Any number.
Description
Operator (bitwise); converts expression1
and expression2
to 32-bit unsigned integers, and returns a 1 in each bit position where the corresponding bits in expression1
or expression1
, but not both, are 1.
Player
Flash 5 or later.
Example
15 ^ 9 returns 6 (1111 ^ 1001 = 0110)