![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 4.
expression1
%=
expression2
None.
Nothing.
Operator (arithmetic compound assignment); assigns expression1
the value of expression1
%
expression2
. For example, the following two expressions are the same:
x %= y
x = x % y
The following example assigns the value 4
to the variable x
.
x = 14;
y = 5;
trace(x %= y);
// returns 4
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |