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

Temporary

Temporary
is an attribute assigned to symbols which are created as local variables by Module.
  • 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.
Temporary symbols are removed if they are no longer referenced:
Temporary symbols are removed if they are no longer referenced:
In[2]:=
Click for copyable input
Out[2]=
Unique new symbols are not temporary:
New in 2