This is documentation for Mathematica 3, 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  /
ReleaseHold

  • ReleaseHold[ expr ] removes Hold, HoldForm, HoldPattern and HoldComplete in expr.
  • Example: ReleaseHold[ 2, Hold[1 + 1] ].
  • ReleaseHold removes only one layer of Hold etc.; it does not remove inner occurrences in nested Hold etc. functions.
  • See the Mathematica book: Section 2.5.5.
  • See also: Evaluate.

    Further Examples

    ReleaseHold only removes one layer of Holds.

    In[1]:=

    Out[1]=