ClearAll

ClearAll[symb1,symb2,]

clears all values, definitions, attributes, messages, and defaults associated with symbols.

ClearAll["form1","form2",]

clears all symbols whose names textually match any of the formi.

Examples

open allclose all

Basic Examples  (1)

Define values and attributes for a symbol:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Clear values and attributes:

In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=

Scope  (4)

Generalizations & Extensions  (2)

Applications  (2)

Properties & Relations  (2)

Possible Issues  (1)

Neat Examples  (1)

See Also

Clear  ClearAttributes  Remove

Tutorials

Introduced in 1988
(1.0)