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


Clear[symbol1, symbol2, ...]
clears values and definitions for the symboli.
Clear["form1", "form2", ...]
clears values and definitions for all symbols whose names match any of the string patterns formi.
  • Clear does not clear attributes, messages, or defaults associated with symbols.
  • Clear allows abbreviated string patterns containing the following metacharacters:
*zero or more characters
@one or more characters, excluding upper-case letters
\\*, etc.literal *, etc.
  • Clear["context`*"] clears all symbols in a particular context.
New in 1