Message
Message[symbol::tag] prints the message symbol::tag unless it has been switched off.
Message[symbol::tag,
,
, ... ] prints a message, inserting the values of the
as needed.
You can switch off a message using Off[symbol::tag]. You can switch on a message using On[symbol::tag].
Between any two successive input lines, Mathematica TE prints a message with a particular name at most three times. On the last occurrence, it prints the message General::stop.
Message[mname,
,
, ... ] is printed as StringForm[mess,
,
, ... ] where mess is the value of the message mname. Entries of the form `i` in the string mess are replaced by the corresponding
.
If you specify a message as symbol::tag::lang, then Message will search only for messages with the particular language lang.
See The Mathematica Book on the web: Section 2.8.21.
See also: Print, Write, On, Off.
Further Examples