Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Assignments >

Clear

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
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team