Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Core Language > Defining Variables and Functions > Attributes >

ClearAttributes

ClearAttributes[s, attr]
removes attr from the list of attributes of the symbol s.
  • ClearAttributes[s, {attr1, attr2, ...}] removes several attributes at a time.
  • ClearAttributes[{s1, s2, ...}, attrs] removes attributes from several symbols at a time.
Set a number of attributes for the symbol f:
Clear a particular attribute; the remaining ones are retained:
Clear several attributes:
ClearAttributes is equivalent to this assignment to the attributes:
Unprotecting a symbol is equivalent to clearing the Protected attribute:
After setting the attribute Locked, no more changes to the attributes can be made:
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team