|
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 The Mathematica Book: Section 2.4.4.
See also: Decrement, SubtractFrom, Set.
Further Examples
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT. SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION. | |