Mathematica 9 is now available

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

SubtractFrom

FilledSmallSquare x -= dx subtracts dx from x and returns the new value of x.

FilledSmallSquare SubtractFrom has the attribute HoldFirst.

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

FilledSmallSquare See Section 2.5.4.

FilledSmallSquare See also: Decrement, PreDecrement, 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.