ClearAttributes

ClearAttributes[s,attr]

removes attr from the list of attributes of the symbol s.

Details

Examples

open allclose all

Basic Examples  (1)

Scope  (1)

Set a number of attributes for the symbol f:

Clear a particular attribute; the remaining ones are retained:

Clear several attributes:

Properties & Relations  (3)

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:

Introduced in 1988
 (1.0)