This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
[an error occurred while processing this directive] $MessageList

  • $MessageList is a global variable that gives a list of the names of messages generated during the evaluation of the current input line.
  • Whenever a message is output, its name, wrapped with HoldForm is appended to $MessageList.
  • With the standard Mathematica main loop, $MessageList is reset to {} when the processing of a particular input line is complete.
  • You can reset $MessageList during a computation.
  • See the Mathematica book: Section 2.8.21.
  • See also: MessageList, Check.