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

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

MessageList

FilledSmallSquare MessageList[n] is a global object assigned to be a list of the names of messages generated during the processing of the n input line.

FilledSmallSquare Only messages that are actually output are included in the list MessageList[n].

FilledSmallSquare The message names in the list are wrapped with HoldForm.

FilledSmallSquare MessageList[n] includes messages generated both by built-in functions and by explicit invocations of Message.

FilledSmallSquare See Section 2.9.21 and Section 2.14.1.

FilledSmallSquare See also: $MessageList.

FilledSmallSquare New in Version 2.

Further Examples