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