<<= (bitwise left shift and assignment)

Availability

Flash Player 5.

Usage

expression1 <<= expression2

Parameters

expression1 A number or expression to be shifted left.

expression2 A number or expression that converts to an integer from 0 to 31.

Returns

Nothing.

Description

Operator (bitwise compound assignment); this operator performs a bitwise left shift operation and stores the contents as a result in expression1. The following two expressions are equivalent.

A <<= B
A = (A << B)

See also

<< (bitwise left shift), >>= (bitwise right shift and assignment), >> (bitwise right shift)