HoldForm

HoldForm[expr]

prints as the expression expr, with expr maintained in an unevaluated form.

Details

Examples

open allclose all

Basic Examples  (4)

Addition in held form:

An unevaluated assignment:

An unevaluated power:

Evaluate the expression by applying ReleaseHold:

Show a formula and its evaluation:

Scope  (1)

Display a sum of squares in unevaluated form:

Properties & Relations  (1)

HoldForm displays without a wrapper:

See the FullForm expression:

Hold gives the held expression with a wrapper:

Wolfram Research (1988), HoldForm, Wolfram Language function, https://reference.wolfram.com/language/ref/HoldForm.html.

Text

Wolfram Research (1988), HoldForm, Wolfram Language function, https://reference.wolfram.com/language/ref/HoldForm.html.

CMS

Wolfram Language. 1988. "HoldForm." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/HoldForm.html.

APA

Wolfram Language. (1988). HoldForm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/HoldForm.html

BibTeX

@misc{reference.wolfram_2024_holdform, author="Wolfram Research", title="{HoldForm}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/HoldForm.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_holdform, organization={Wolfram Research}, title={HoldForm}, year={1988}, url={https://reference.wolfram.com/language/ref/HoldForm.html}, note=[Accessed: 21-November-2024 ]}