This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
 BUILT-IN MATHEMATICA SYMBOL

# Update

 Update[symbol]tells Mathematica that hidden changes have been made which could affect values associated with a symbol. Updatespecifies that the value of any symbol could be affected.
• Update manipulates internal optimization features of Mathematica. It should not need to be called except under special circumstances that rarely occur in practice.
• One special circumstance is that changes in the value of one symbol can affect the value of another symbol by changing the outcome of Condition tests. In such cases, you may need to use Update on the symbol you think may be affected.
• Using Update will never give you incorrect results, although it will slow down the operation of the system.
Make sure that values that depend on f are returned correctly:
The value of t depends on the definitions for f:
Now change the value of g that f, in turn, depends on:
The value of t is still based on the old value of f that was correct before g was changed:
But the value of f[] has changed:
Tell Mathematica that changes have been made affecting values that depend on f:
Now the value of t returns as expected:
Make sure that values that depend on f are returned correctly:
The value of t depends on the definitions for f:
 Out[3]=
Now change the value of g that f, in turn, depends on:
The value of t is still based on the old value of f that was correct before g was changed:
 Out[5]=
But the value of f[] has changed:
 Out[6]=
Tell Mathematica that changes have been made affecting values that depend on f:
Now the value of t returns as expected:
 Out[8]=
New in 1