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

PrintStackBegin

Stack

FilledSmallSquareStack[ ] shows the current evaluation stack, giving a list of the tags associated with evaluations that are currently being done.

FilledSmallSquareStack[pattern] gives a list of expressions currently being evaluated which match the pattern.

FilledSmallSquareStack[_] shows all expressions currently being evaluated.

FilledSmallSquare You can call Stack from inside a dialog to see how the dialog was reached.

FilledSmallSquare In the list returned by Stack[pattern], each expression is wrapped with HoldForm.

FilledSmallSquare The maximum length of Stack[ ] is limited by $RecursionLimit.

FilledSmallSquareStack has attribute HoldFirst.

FilledSmallSquare See The Mathematica Book: Section 2.5.11.

FilledSmallSquare See also: Trace.

Further Examples

PrintStackBegin