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

Documentation / Mathematica / The Mathematica Book / Mathematica Reference Guide / Evaluation /

A.4.5 Global Control of Evaluation

In the evaluation procedure described above, two basic kinds of steps are involved:

FilledSmallSquare Iteration: evaluate a particular expression until it no longer changes.

FilledSmallSquare Recursion: evaluate subsidiary expressions needed to find the value of a particular expression.

Iteration leads to evaluation chains in which successive expressions are obtained by the application of various transformation rules.

Trace shows evaluation chains as lists, and shows subsidiary evaluations corresponding to recursion in sublists.

The expressions associated with the sequence of subsidiary evaluations which lead to an expression currently being evaluated are given in the list returned by Stack[ ].

Global variables controlling the evaluation of expressions.