WMLScript » Assignment » Arithmetic Bitwise Assignments

Syntax:
<<= >>= >>>= &= |= ^=

The equal sign can also be combined with the <<, >>, >>>, &, |, and ^ operators to give the following shorthand versions of standard bitwise operations:

a <<= b instead of a = a << b
a >>= b instead of a = a >> b
a >>>= b instead of a = a >>> b
a &= b instead of a = a & b
a |= b instead of a = a | b
a ^= b instead of a = a ^ b

See Also: