tag is a name for a message.
You can specify messages by defining values for symbol
tag is converted to MessageName[
"]. tag can contain any characters that can appear in symbol names. symbol
" can also be used.
Assignments for s
tag are stored in the Messages value of the symbol s.
The following messages for functions are often defined: ?
f prints out the message f
form finds more than one function, only the names of each function are printed.
You can switch on and off messages using On[
] and Off[
"] or symbol
lang represents a message in a particular language.
See the Mathematica book: Section 2.8.21.
See also: Message, MessageList, $MessageList.
You can define various tags for functions that you wish to document in some way. Here is a note assigned to the function average.
Here is the function definition.
You can information about the function average in a variety of ways.
average[list_] := Plus @@ list/Length[list]