This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

PreIncrement (++)TimesBy (*=)

PreDecrement

FilledSmallSquare--x decreases the value of x by 1, returning the new value of x.

FilledSmallSquarePreDecrement has attribute HoldFirst.

FilledSmallSquare--x is equivalent to x=x-1.

FilledSmallSquare See The Mathematica Book: Section 2.4.4.

FilledSmallSquare See also: Decrement, SubtractFrom, Set.

Further Examples

PreIncrement (++)TimesBy (*=)