$Post

$Post
is a global variable whose value, if set, is applied to every output expression.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

By default, $Post is not defined, meaning output comes directly from evaluation:

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

Set $Post to N so that all expressions are evaluated numerically after evaluation:

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

Restore $Post to the default:

In[4]:=
Click for copyable input

Set $Post to Simplify so that symbolic simplification is tried on each output:

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

Restore $Post to the default:

In[4]:=
Click for copyable input
Introduced in 1988
(1.0)