A.5.4 Clearing and Removing Objects
| expr =. | clear a value defined for expr | | f/: expr =. | clear a value associated with f defined for expr | Clear[ , , ... ] | clear all values for the symbols , except for attributes, messages and defaults | ClearAll[ , , ... ] | clear all values for the , including attributes, messages and defaults | Remove[ , , ... ] | clear all values, and then remove the names of the |
Ways to clear and remove objects. Clear, ClearAll and Remove can all take string patterns as arguments, to specify action on all symbols whose names match the string pattern. Clear, ClearAll and Remove do nothing to symbols with the attribute Protected.
|