Interpretation

Interpretation[e,expr]

represents an object that displays as e, but is interpreted as the unevaluated form of expr if supplied as input.

Interpretation[{x=x0,y=y0,},e,expr]

allows local variables x, y, in e and expr.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Specify an interpretation for a string:

In[1]:=
Click for copyable input
Out[1]=

Copy and paste the output above to use the string in calculations:

In[2]:=
Click for copyable input
Out[2]=

Specify scoped variables:

In[1]:=
Click for copyable input
Out[1]=

Copying and evaluating:

In[2]:=
Click for copyable input
Out[2]=

Scope  (1)

Possible Issues  (1)

See Also

Defer  DynamicSetting  Hold  DialogInput  DynamicModule

Tutorials

Introduced in 2007
(6.0)
| Updated in 2014
(10.0)