Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica Technical FAQs Services & Resources / Mathematica / Kernels & Programming
-----
 /
Symbols
*Mathematica
*Network Mathematica
*webMathematica
*gridMathematica
*Personal Grid Edition
*Wolfram Workbench
*Wolfram Education Group
*Application Packages
*Mathematica for Students
*Mathematica CalcCenter
*Publicon
*A New Kind of Science Explorer
*Mathematical Explorer
*Mathematica Teacher's Edition
*Calculus WIZ
*Mathematica Player
*Ask about this page
*Print this page
*Email this page
*Give us feedback
*
Sign up for our newsletter:

Hold


Usage Message:

Hold[expr] maintains expr in an unevaluated form.

Attributes[Hold] = {HoldAll, Protected}

Related Symbols:

Attributes
Evaluate
HoldAll
HoldAllComplete
HoldComplete
Unevaluated

Notes:

Hold is a symbol with the HoldAll attribute. As with all symbols with this attribute, Hold[expr] holds expr unevaluated. For example:
In[1]:= Hold[2 + 2]

Out[1]= Hold[2 + 2]
Hold is similar to HoldComplete , which has the HoldAllComplete attribute. The HoldAllComplete attribute, protects expressions from all evaluations. For example:
In[2]:= Hold[Evaluate[2 + 2]]

Out[2]= Hold[4]

In[3]:= HoldComplete[Evaluate[2 + 2]]

Out[3]= HoldComplete[Evaluate[2 + 2]]


Additional Online Documentation:

Mathematica 3.0
http://documents.wolfram.com/v3/RefGuide/Hold.html

Mathematica 4.0
http://documents.wolfram.com/v4/RefGuide/Hold.html




 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy