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

MessageName (::)

symbol::tag
is a name for a message.
  • You can specify messages by defining values for symbol::tag.
  • symbol::tag is converted to MessageName[symbol, "tag"]. tag can contain any characters that can appear in symbol names. symbol::"tag" can also be used.
  • Assignments for s::tag are stored in the Messages value of the symbol s.
  • The following messages are typically defined for built-in functions:
f::templatea template showing a typical case of the function
f::usagea description of how to use the function
  • ?f prints out the message f::usage.
  • When ?form finds more than one function, only the names of the functions are printed.
  • You can switch on and off messages using On[s::tag] and Off[s::tag].
  • MessageName[symbol, "tag", "lang"] or symbol::tag::lang represents a message in a particular language.
New in 1 | Last modified in 4