13.07.2015 Views

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Notebooks</strong> and <strong>Documents</strong> 137In[4]:=You can switch off the message like this.Off@Log::argtDNow no warning message is produced.In[5]:= Log@a, b, cDOut[5]= Log@a, b, cDAlthough most messages associated with built-in functions are switched on by default, there aresome which are switched off by default, and which you will see only if you explicitly switch themon. An example is the message General::newsym, discussed in "Intercepting the Creation ofNew Symbols", which tells you every time a new symbol is created.s::tags::tag=stringMessages@sDgive the text of a messageset the text of a messageshow all messages associated with sManipulating messages.The text of a message with the name s::tag is stored simply as the value of s::tag, associatedwith the symbol s. You can therefore see the text of a message simply by asking for s::tag. Youcan set the text by assigning a value to s::tag.If you give LinearSolve a singular matrix, it prints a warning message.In[6]:= LinearSolve@881, 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!