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

Unique

Unique[]
generates a new symbol, whose name is of the form $nnn.
Unique[x]
generates a new symbol, with a name of the form x$nnn.
Unique[{x, y, ...}]
generates a list of new symbols.
Unique["xxx"]
generates a new symbol, with a name of the form xxxnnn.
  • Unique["xxx"] numbers the symbols it creates sequentially, starting at 1 for each string xxx.
  • Unique[name, {attr1, attr2, ...}] generates a symbol which has the attributes attri.
New in 1