Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Programming / Evaluation Control  /
Evaluate

  • Evaluate[ expr ] causes expr to be evaluated even if it appears as the argument of a function whose attributes specify that it should be held unevaluated.
  • Example: Hold[Evaluate[1 + 1]].
  • You can use Evaluate to override HoldFirst, etc. attributes of built-in functions.
  • Evaluate only overrides HoldFirst, etc. attributes when it appears directly as the head of the function argument that would otherwise be held.
  • See the Mathematica book: Section 1.9.1Section 2.5.5.
  • See also: ReleaseHold.

    Further Examples

    Evaluate causes the list of functions to be constructed immediately, rather than being constructed at each value of x chosen by Plot.

    In[1]:=



    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.