Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Programming / Evaluation Control /

Hold

FilledSmallSquare Hold[expr] maintains expr in an unevaluated form.

FilledSmallSquare Hold has attribute HoldAll, and performs no operation on its arguments.

FilledSmallSquare Example: Hold[1+1] LongRightArrow.

FilledSmallSquare Hold is removed by ReleaseHold.

FilledSmallSquare Hold[, , ... ] maintains a sequence of unevaluated expressions to which a function can be applied using Apply.

FilledSmallSquare Even though expr itself is not evaluated, Hold[expr] may still evaluate if expr is of the form f[args], and upvalues for f have been defined.

FilledSmallSquare See Section 2.6.5.

FilledSmallSquare See also: HoldPattern, HoldForm, HoldComplete, Unevaluated, HoldAll, Symbol.

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.