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



Basic Examples  (2)

The default channel for messages is standard output:

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

Generate a message:

Show the contents of the temporary file:

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

Introduced in 1988