Combined Assignments

The Compiler can also recognize the equivalence between the three following statements:

  x = x + 1;
  
  
  x += 1;
  
  
  x++;
  
  

and between:

  x = x / y;
  
  
  x /= y;
  
  

Therefore, the Compiler generates equally efficient code for either case.