EasyManua.ls Logo

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH - Page 193

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH
830 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
About operators 193
Except for the strict equality (===) operator, the comparison operators compare strings only if
both operands are strings. If only one of the operands is a string, both operands convert to
numbers and perform a numeric comparison. For more information on strings and operators,
see About using operators with strings” on page 182. For information on how order and
operator precedence affect your ActionScript, see About operator precedence and
associativity” on page 179.
About assignment operators
The assignment operators take two operands and assign a value to one operand based on the
value of the other operand. All of the operators in this table have equal precedence:
For information on using assignment operators, see “Using assignment operators”
on page 194.
Operator Operation performed
=
Assignment
*=
Multiplication assignment
/=
Division assignment
%=
Modulo assignment
+=
Addition assignment
-=
Subtraction assignment
<<=
Bitwise left shift assignment
>>=
Bitwise right shift assignment
>>>=
Bitwise unsigned right shift assignment
&=
Bitwise AND assignment
^=
Bitwise XOR assignment
|=
Bitwise OR assignment

Table of Contents

Related product manuals