Temporary

Temporary
is an attribute assigned to symbols which are created as local variables by Module.

DetailsDetails

  • Symbols with attribute Temporary are automatically removed when they are no longer needed.
  • Symbols with attribute Temporary conventionally have names of the form aaa$nnn.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Temporary symbols are removed if they are no longer referenced:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 1991
(2.0)