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

Documentation / Mathematica / Built-in Functions / Programming / Assignments /


FilledSmallSquare Clear[, , ... ] clears values and definitions for the .

FilledSmallSquare Clear["", "", ... ] clears values and definitions for all symbols whose names match any of the string patterns .

FilledSmallSquare Clear does not clear attributes, messages, or defaults associated with symbols.

FilledSmallSquare Clear["form"] allows metacharacters such as *, as specified in Section A.3.13.

FilledSmallSquare Clear["context`*"] clears all symbols in a particular context.

FilledSmallSquare Clear is HoldAll.

FilledSmallSquare Clear does not affect symbols with the attribute Protected.

FilledSmallSquare See Section 1.2.2, Section 1.7.1, Section 2.5.3, Section 2.7.12 and Section A.5.4.

FilledSmallSquare See also: Remove.

FilledSmallSquare New in Version 1.

Further Examples