Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Core Language > Defining Variables and Functions > Attributes >

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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team