Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Programming / Assignments /

PreDecrement

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

FilledSmallSquare PreDecrement has attribute HoldFirst.

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

FilledSmallSquare See Section 2.5.4.

FilledSmallSquare See also: Decrement, SubtractFrom, Set.

FilledSmallSquare New in Version 1.

Further Examples



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.