Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
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
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team