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

StackInhibit

StackInhibit[expr]
evaluates expr without modifying the evaluation stack.
  • You can use StackInhibit to prevent "innermost" evaluations from appearing in the evaluation stack when you look at it with Stack.
Prevent Print from being shown on the stack:
 
Get the detailed stack contents as well:
New in 2