HoldComplete
Usage Message: HoldComplete[expr] shields expr completely from the standard Mathematica evaluation process,
preventing even upvalues associated with expr from being used. Attributes[HoldComplete] = {HoldAllComplete,
Protected} Related Symbols: Attributes
ClearAttributes
Evaluate
Hold
HoldAll
HoldAllComplete
SequenceHold
SetAttributes
Unevaluated
Notes: HoldComplete is a symbol with the HoldAllComplete
attribute. As with all symbols with this attribute, HoldComplete[expr] protects expr from all evaluation transformations. For example
In[1]:= HoldComplete[Evaluate[2 + 2]]
Out[1]= HoldComplete[Evaluate[2 + 2]]
HoldComplete is similar to Hold
, which has the HoldAll
attribute. The HoldAll
attribute, however, does not protect expressions from all evaluations.
In[2]:= Hold[Evaluate[2 + 2]]
Out[2]= Hold[4]
Additional Online Documentation:
Mathematica 3.0
http://documents.wolfram.com/v3/RefGuide/HoldComplete.html
Mathematica 4.0
http://documents.wolfram.com/v4/RefGuide/HoldComplete.html
Questions or comments? Send email to support@wolfram.com.
|