|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
MessageList
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.
DetailsDetails
- Only messages that are actually output are included in the list MessageList[n].
- The message names in the list are wrapped with HoldForm.
- MessageList[n] includes messages generated both by built-in functions and by explicit invocations of Message.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
Get any messages that were generated by the previous output:
| In[2]:= |
| Out[2]= |
There were no messages produced in the previous command:
| In[3]:= |
| Out[3]= |
Now the command that gave the message is the third previous command:
| In[4]:= |
| Out[4]= |
Get a list of all the messages that were generated in a session:
| In[5]:= |
| Out[5]= |
New in 2
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
