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

Documentation / Mathematica / Built-in Functions / Programming / Attributes /

Attributes

FilledSmallSquare Attributes[symbol] gives the list of attributes for a symbol.

FilledSmallSquare The attributes of a symbol can be set by assigning a value to Attributes[s]. If a single attribute is assigned, it need not be in a list.

FilledSmallSquare Attributes[s] = clears all attributes of a symbol.

FilledSmallSquare Attributes[, , ... ] gives a list of the attributes for each of the .

FilledSmallSquare Attributes["str"] gives a list of the attributes for all symbols which match the string pattern str.

FilledSmallSquare Attributes[HoldPattern[s]] is treated as equivalent to Attributes[s].

FilledSmallSquare Attributes for functions must be set before any definitions that involve the functions are given.

FilledSmallSquare The complete list of possible attributes for a symbol f is:

FilledSmallSquare See Section 2.3.7 and Section 2.6.3.

FilledSmallSquare See also: SetAttributes, ClearAttributes.

FilledSmallSquare New in Version 1; modified in 3.

Further Examples