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

Documentation / Mathematica / Built-in Functions / New in Version 3.x / Programming /

Symbol

FilledSmallSquare Symbol["name"] refers to a symbol with the specified name.

FilledSmallSquare All symbols, whether explicitly entered using Symbol or not, have head Symbol.

FilledSmallSquare x_Symbol can be used as a pattern to represent any symbol.

FilledSmallSquare The string "name" in Symbol["name"] must be an appropriate name for a symbol. It can contain any letters, letter-like forms, or digits, but cannot start with a digit.

FilledSmallSquare Symbol["name"] creates a new symbol if none exists with the specified name.

FilledSmallSquare A symbol such as x has a name "x".

FilledSmallSquare If Symbol["name"] creates a new symbol, it does so in the context specified by $Context.

FilledSmallSquare See Section 2.3.4, Section 2.7.12 and Section A.1.4.

FilledSmallSquare See also: SymbolName, ToExpression, Unique, Remove.

FilledSmallSquare New in Version 1.

Further Examples