Operators > &= (bitwise AND assignment)
&= (bitwise AND assignment)Syntax
expression1
&=
expression2
Arguments
expression1, expression2
Integers and variables.
Description
Operator (bitwise assignment); assigns expression1
the value of expression1
&
expression2
.
Player
Flash 5 or later.
Example
The following illustrates using the &=
operator with variables and numbers:
x &= y
is the same as x = x & y
If x = 15
and y = 9
then
x &= 9
returns 9
See also