Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Programming / Attributes  /
HoldRest

  • HoldRest is an attribute which specifies that all but the first argument to a function are to be maintained in an unevaluated form.
  • See the Mathematica book: Section 2.5.3Section 2.5.5.

    Further Examples

    This makes the function s have the attribute that all arguments but the first are held.

    In[1]:=

    In[2]:=

    Out[2]=

    In[3]:=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.