Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Core Language > Expressions > Evaluation Control > HoldAllComplete >

HoldAllComplete

HoldAllComplete
is an attribute which specifies that all arguments to a function are not to be modified or looked at in any way in the process of evaluation.
  • By setting the attribute HoldAllComplete you can effectively shield the arguments of a function from all aspects of the standard Mathematica evaluation process.
  • HoldAllComplete not only prevents arguments from being evaluated, but also prevents Sequence objects from being flattened, Unevaluated wrappers from being stripped, and upvalues associated with arguments from being used.
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
HoldComplete is a standard container with attribute HoldAllComplete:
No form of evaluation control affects an expression with attribute HoldAllComplete:
Substitution still happens inside an expression with attribute HoldAllComplete:
Unevaluated has the attribute HoldAllComplete:
HoldAllComplete affects only evaluation; input transformations are still applied:
A fast way to compute the Hofstadter-Conway sequence :
New in 3
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF