Increment
x++
increases the value of x by 1, returning the old value of x.
Examples
open allclose allScope (4)
Increment all values in a list:
The argument to Increment need not be a symbol:
Properties & Relations (4)
Increment and PreIncrement differ only in the return value of the operation:
Increment is a short form of this assignment:
Increment is a special case of AddTo:
Decrement and PreDecrement are closely related operations:
Text
Wolfram Research (1988), Increment, Wolfram Language function, https://reference.wolfram.com/language/ref/Increment.html.
CMS
Wolfram Language. 1988. "Increment." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Increment.html.
APA
Wolfram Language. (1988). Increment. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Increment.html