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)

Switch off the message:

Switch the message back on:

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