StackInhibit[expr]
evaluates expr without modifying the evaluation stack.


StackInhibit
StackInhibit[expr]
evaluates expr without modifying the evaluation stack.
Details

- You can use StackInhibit to prevent "innermost" evaluations from appearing in the evaluation stack when you look at it with Stack.
- StackInhibit has attribute HoldFirst.
Examples
Basic Examples (2)
See Also
Tech Notes
Related Guides
Related Workflows
- Get a Stack Trace
History
Introduced in 1991 (2.0)
Text
Wolfram Research (1991), StackInhibit, Wolfram Language function, https://reference.wolfram.com/language/ref/StackInhibit.html.
CMS
Wolfram Language. 1991. "StackInhibit." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/StackInhibit.html.
APA
Wolfram Language. (1991). StackInhibit. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/StackInhibit.html
BibTeX
@misc{reference.wolfram_2025_stackinhibit, author="Wolfram Research", title="{StackInhibit}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/StackInhibit.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_stackinhibit, organization={Wolfram Research}, title={StackInhibit}, year={1991}, url={https://reference.wolfram.com/language/ref/StackInhibit.html}, note=[Accessed: 16-August-2025]}