DocumentationMathematicaBuilt-in FunctionsProgrammingAssignments
Decrement
x-- decreases the value of x by 1, returning the old value of x.
Decrement has attribute HoldFirst. See Section 2.5.4. See also: PreDecrement, SubtractFrom, Set. New in Version 1.
Further Examples