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

$MessageList

$MessageList
is a global variable that gives a list of the names of messages generated during the evaluation of the current input line.
  • With the standard Mathematica main loop, $MessageList is reset to {} when the processing of a particular input line is complete.
New in 2