$MessagePrePrint

$MessagePrePrint

is a global variable whose value, if set, is applied to expressions before they are included in the text of messages.

Details

Examples

open all close all

Basic Examples  (1)

Have expressions in messages print out in TraditionalForm:

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

Restore the default. Now the expressions are shown in StandardForm:

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

Scope  (2)

Introduced in 1991
(2.0)