This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Input and Output / Messages /

$MessageList

FilledSmallSquare $MessageList is a global variable that gives a list of the names of messages generated during the evaluation of the current input line.

FilledSmallSquare Whenever a message is output, its name, wrapped with HoldForm is appended to $MessageList.

FilledSmallSquare With the standard Mathematica main loop, $MessageList is reset to {} when the processing of a particular input line is complete.

FilledSmallSquare You can reset $MessageList during a computation.

FilledSmallSquare See Section 2.9.21.

FilledSmallSquare See also: MessageList, Check.

FilledSmallSquare New in Version 2.