| **Navigation:**  [[introduction.htm|Language Reference]] > 11 - Assignments > Assignment Statements >====== Operating Assignments ====== | [[simple assignments.htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[deep assignment.htm|{{btn_next_n.gif|Next page}}]] | | || ** ** | | //destination// | += | //source// | | | //destination// | -= | //source// | | | //destination// | *= | //source// | | | //destination// | /= | //source// | | | //destination// | ^= | //source// | | | //destination// | %= | //source// | {{blk2blue.jpg|blk2blue.jpg}} | //destination// | Must be the label of a variable. This may not be a runtime property. | | //source// | A constant, variable, procedure, or expression. | Operating assignment statements perform their operation on the //destination //and //source, //then assign the result to the //destination//. Operating assignment statements are more efficient than their functionally equivalent operations. **Example:** ** **__** Operating Assignment**__**       **__**Functional Equivalent**__ **  A += 1                     A = A + 1** **  A -= B                     A = A - B** **  A *= -5                    A = A * -5** **  A /= 100                   A = A / 100** **  A ^= I + 1                 A = A ^ (I + 1)** **  A %= 7                     A = A % 7** **See Also:** [[data type conversion rules.htm|Data Conversion Rules]] [[property expressions.htm|Property Expressions]]