WLJS LogoWLJS Notebook

Temporary

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

Examples

Create local variables in Module:

Module[{x, y},
  Attributes[x]
]
(* {Temporary} *)

Check attributes of a local variable:

Module[{var},
  Print[Attributes[var]];
  var = 10
]

Set Temporary attribute manually:

SetAttributes[myVar, Temporary]

Please visit the official Wolfram Language Reference for more details.

On this page