Off

Off[symbol::tag]

switches off a message, so that it is no longer printed.

Off["name"]

switches off a named group of messages.

Off[s]

switches off tracing messages associated with the symbol s.

Off[m1,m2,]

switches off several messages or message groups.

Details

  • The value of symbol::tag is not affected by Off.
  • $MessageGroups gives the list of possible message groups.
  • Off[General::name] switches off all messages derived from General::name.
  • Off[s] is equivalent to Off[s::trace].
  • Off[] is equivalent to Off[s::trace] for all symbols.

Examples

Basic Examples  (1)

In[1]:=
Click for copyable input
Out[1]=

Switch off the message:

In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=

Switch the message back on:

In[4]:=
Click for copyable input

See Also

Quiet  On  Message  Check  $MessageGroups

Tutorials

Introduced in 1988
(1.0)
| Updated in 2008
(7.0)