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

Documentation / Mathematica / Built-in Functions / Input and Output / Messages /

On

FilledSmallSquare On[symbol::tag] switches on a message, so that it can be printed.

FilledSmallSquare On[s] switches on tracing for the symbol s.

FilledSmallSquare On[, , ... ] switches on several messages.

FilledSmallSquare On[ ] switches on tracing for all symbols.

FilledSmallSquare When tracing is switched on, each evaluation of a symbol, on its own, or as a function, is printed, together with the result.

FilledSmallSquare Note that the tracing information is printed when a function returns. As a result, traces of recursive functions appear in the opposite order from their calls.

FilledSmallSquare On[s] is equivalent to On[s::trace].

FilledSmallSquare On[ ] is equivalent to On[s::trace] for all symbols.

FilledSmallSquare See Section 1.3.11 and Section 2.9.21.

FilledSmallSquare See also: Off, TracePrint.

FilledSmallSquare New in Version 1.

Further Examples