This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

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