Skip to main content

Interpretation

Wolfram Kernel
Execution environment
Interpretation[display_, expression_]

allows to alter the displayed expression

An expression will be revealed after 1 evaluation

tip

For the best performance optimization apply CreateFrontEndObject if you use interactive objects as display value.

For example

Interpretation[TextView["Hello"], 1]

has more overhead than

Interpretation[TextView["Hello"] // CreateFrontEndObject, 1]

It will help interpreter to bypass extra layers of complexity.

Note that you don't need to do this for Graphics, Graphics3D, Image and input elements, since it is done automatically

info

By the default Interpretation applies StandardForm to display expression before printing it to an output cell

Example

Have a look at the following example

Interpretation[Red, 1]