Previous: , Up: Assignment   [Contents][Index]


7.1.3 Operand-Assignment

Assignment statements of the form

 target = target binary_operator expr

can be written with the shorthand notation

 target binary_operator= expr

where binary_operator= is one of +=, -=, *=, or /=. The target may be subscripted, as in Insertion.