StackBegin

StackBegin[expr]

evaluates expr, starting a fresh evaluation stack.

Details

  • You can use StackBegin to prevent "outer" evaluations from appearing in the evaluation stack when you call Stack.
  • StackBegin has attribute HoldFirst.
  • A StackBegin is automatically done when the evaluation of each input line begins in an interactive Wolfram System session.

Examples

Basic Examples  (2)

Show only the evaluations being done inside of f:

Get the detailed stack contents:

Introduced in 1991
 (2.0)