General::tag
Details
-
- This message is generated when a tagged assignment is used incorrectly with functions that select assignment tags in a special way.
- This message can occur in assignments involving Attributes, Context, Default, Format, MessageName, and N.
- A tagged assignment is an assignment based on TagSet or TagSetDelayed where the tag is specified explicitly in the assignment.
- Off[message] switches off the message; On[message] switches it on. For example: Off[General::tag].
Examples
Basic Examples (1)
The tag for assignments to Attributes[expr] is taken from expr:
Attributes/:Attributes[testfunction] = ListableThis shows a valid assignment for the attributes of a symbol:
Attributes[testfunction] = Listable