Warnings and Messages
Mathematica usually goes about its work silently, giving output only when it has finished doing the calculations you asked for.
However, if it looks as if
Mathematica is doing something you definitely did not intend,
Mathematica will usually print a message to warn you.
The square root function should have only one argument.
Mathematica prints a message to warn you that you have given two arguments here.
| Out[1]= |  |
You can suppress the message for one evaluation using
Quiet.
| Out[2]= |  |
The message reappears without the use of
Quiet.
| Out[3]= |  |
Each message has a name. You can switch off messages for all evaluations using
Off.
The message
Sqrt
has now been switched off, and will no longer appear.
| Out[5]= |  |
This switches
Sqrt
back on again.
| Quiet[expr] | evaluate expr without printing any messages |
| Off[Function::tag] | switch off (suppress) a message |
| On[Function::tag] | switch on a message |
Functions for controlling message output.