This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Programming / Evaluation Control /

Further Examples: Evaluate

Evaluate causes the list of functions to be constructed immediately, so that Plot will know that it needs to plot more than one curve.

In[1]:=

Evaluate is needed because Plot has the HoldAll attribute.

In[2]:=

Out[2]=

If Evaluate is omitted, this example will generate an error, since Plot expects the first argument to evaluate to a number rather than to a list of numbers.

In[3]:=

Out[3]=

Evaluate is not necessary here, since Factor does not hold its arguments unevaluated.

In[4]:=

Out[4]=

Evaluate has no effect unless the enclosing expression is evaluated.

In[5]:=

Out[5]=

This shows one way to put an evaluated expression into a position that would otherwise be held unevaluated.

In[6]:=

Out[6]=