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:

Introduced in 1988
 (1.0)