Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Operators > /= (division assignment) | |||
Flash Lite 1.0.
expression1/=expression2
expression1, expression2 Numbers or expressions that evaluate to numbers.
Operator (arithmetic compound assignment); assigns expression1 the value of expression1 / expression2. For example, the following two statements are equivalent:
x /= y
x = x / y
The following example uses the /= operator with variables and numbers:
x = 10; y = 2; x /= y; // The expression x now contains the value 5.
|
|
|
|