Table 2-3 Assignment Operators
=
|
Simple Assignment
|
:
|
Declaration
|
:=
|
Assignment and Declaration, Initialization (shorthand)
|
+=
|
Increment and Assign (shorthand)
|
-=
|
Decrement and Assign (shorthand)
|
*=
|
Multiply and Assign (shorthand)
|
/=
|
Divide and Assign (shorthand)
|
%=
|
Modulus and Assign (shorthand)
|
&=
|
Bitwise AND and Assign (shorthand)
|
|=
|
Bitwise OR and Assign (shorthand)
|
^=
|
Bitwise Exclusive OR (XOR) and Assign (shorthand)
|
<<=
|
Shift Left and Assign (shorthand)
|
>>=
|
Shift Right and Assign (shorthand)
|