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

Quiet

Quiet[expr]
evaluates expr "quietly", without actually outputting any messages generated.
Quiet
quietens only the specified messages during the evaluation of expr.
Quiet
quietens only the named group of messages.
  • Quiet specifies that messages in the list should not be generated, but those in should be.
  • Explicit message names of the form can be mixed with named message groups.
  • Quiet constructs can be nested; the innermost specification for a particular message is the one used.
  • The operation of Check and related message functions is not affected by being inside Quiet.
Evaluate without generating messages:
Evaluate with the message:
Evaluate without generating messages:
In[1]:=
Click for copyable input
Out[1]=
Evaluate with the message:
In[2]:=
Click for copyable input
Out[2]=
Switch off a specific message:
Switch off a class of messages:
Quiet constructs can be nested:
Quiet works with Check:
Check is not affected by being inside Quiet:
New in 6 | Last modified in 7