Mathematica 9 is now available

SubtractFrom (-=)PreDecrement (--)

PreIncrement

FilledSmallSquare++x increases the value of x by 1, returning the new value of x.

FilledSmallSquarePreIncrement has attribute HoldFirst.

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

FilledSmallSquare See The Mathematica Book: Section 2.4.4.

FilledSmallSquare See also: Increment, AddTo, Set.

Further Examples

SubtractFrom (-=)PreDecrement (--)



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.