StackBegin

StackBegin[expr]
evaluates expr, starting a fresh evaluation stack.

DetailsDetails

  • 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.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Show only the evaluations being done inside of f:

In[1]:=
Click for copyable input
Out[1]=

Get the detailed stack contents:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 1991
(2.0)