$Messages

$Messages

gives the list of files and pipes to which message output is sent.

Details

Examples

Basic Examples  (2)

The default channel for messages is standard output:

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

Have messages go to a temporary file and the default channel:

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

Generate a message:

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

Show the contents of the temporary file:

In[4]:=
Click for copyable input

Clean up by resetting $Messages to its default and closing the stream:

In[5]:=
Click for copyable input

See Also

$MessageList

Tutorials

Introduced in 1988
(1.0)