Mathematica 9 is now available

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



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.