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

InString$Line

Further Examples for MessageList

This returns $MessageList (the value of which is assigned to MessageList[n]), which gives a list of the messages produced.

In[1]:=

Out[1]=

The message names are wrapped in HoldForm to stop them from evaluating.

In[2]:=

Out[2]//InputForm= {HoldForm[Sqrt::argx], HoldForm[Exp::argx]}

InString$Line