[NAME]
ALL.dao.operator.assignment

[TITLE]
赋值运算符

[DESCRIPTION]


 0.1  Compound Assignment Operators 

     
   1  (int|float|double) += (int|float|double) # Addition assignment;
   2  (int|float|double) -= (int|float|double) # Subtraction assignment;
   3  (int|float|double) *= (int|float|double) # Multiplication assignment;
   4  (int|float|double) /= (int|float|double) # Division assignment;
   5  (int|float|double) %= (int|float|double) # Modulo assignment
   6  
   7  (int|float|double) &= (int|float|double) # Bitwise AND assignment;
   8  (int|float|double) |= (int|float|double) # Bitwise OR assignment;
   9  (int|float|double) ^= (int|float|double) # Bitwise XOR assignment;
  10  
  11  array(<int>|<float>|<double>) += (int|float|double) # Addition assignment;
  12  array(<int>|<float>|<double>) -= (int|float|double) # Subtraction assignment;
  13  array(<int>|<float>|<double>) *= (int|float|double) # Multiplication assignment;
  14  array(<int>|<float>|<double>) /= (int|float|double) # Division assignment;
  15  array(<int>|<float>|<double>) %= (int|float|double) # Modulo assignment
  16  
  17  array(<int>|<float>|<double>) += array(<int>|<float>|<double>) # Addition assignment;
  18  array(<int>|<float>|<double>) -= array(<int>|<float>|<double>) # Subtraction assignment;
  19  array(<int>|<float>|<double>) *= array(<int>|<float>|<double>) # Multiplication assignment;
  20  array(<int>|<float>|<double>) /= array(<int>|<float>|<double>) # Division assignment;
  21  array(<int>|<float>|<double>) %= array(<int>|<float>|<double>) # Modulo assignment
  22  
  23  array<complex> += (int|float|double|complex|array) # Addition assignment;
  24  array<complex> -= (int|float|double|complex|array) # Subtraction assignment;
  25  array<complex> *= (int|float|double|complex|array) # Multiplication assignment;
  26  array<complex> /= (int|float|double|complex|array) # Division assignment;
  27  array<complex> %= (int|float|double|complex|array) # Modulo assignment
     

 0.2  Multiple Assignment: 

     
   1  ( C, A, B, ... ) = ( A, B, C, ... )
   2  ( A, B ) = func();
     
the expression in the right side should yield a list or tuple, and each of the elements i
n the tuple/list is assigned accordingly to each of the variables in the left side. Extra
elements are ignored.