SymbolCopy to clipboard.
✖
Symbol
Details
- All symbols, whether explicitly entered using Symbol or not, have head Symbol.
- x_Symbol can be used as a pattern to represent any symbol.
- 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.
- Symbol["name"] creates a new symbol if none exists with the specified name.
- A symbol such as x has a name "x".
- If Symbol["name"] creates a new symbol, it does so in the context specified by $Context.
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
https://wolfram.com/xid/0dsia-hr5ng5
https://wolfram.com/xid/0dsia-bq54y
Scope (4)Survey of the scope of standard use cases
Use Symbol to create new symbols in a program:
https://wolfram.com/xid/0dsia-ciyz3g
Use Symbol for pattern matching:
https://wolfram.com/xid/0dsia-lngddp
Create a symbol in a given context:
https://wolfram.com/xid/0dsia-bw59vq
https://wolfram.com/xid/0dsia-e4mt90
Create a symbol in the current context:
https://wolfram.com/xid/0dsia-bpfz7q
Applications (1)Sample problems that can be solved with this function
Properties & Relations (9)Properties of the function, and connections to other functions
Symbol creates new symbols in the current context:
https://wolfram.com/xid/0dsia-mt8gnz
https://wolfram.com/xid/0dsia-dmqlzc
https://wolfram.com/xid/0dsia-06o9y
Unique creates symbols with a unique new name:
https://wolfram.com/xid/0dsia-bprgto
https://wolfram.com/xid/0dsia-ch6woi
Module creates new temporary symbols every time it is evaluated:
https://wolfram.com/xid/0dsia-dfgls2
Symbol and SymbolName are inverses of each other:
https://wolfram.com/xid/0dsia-fh3k1p
https://wolfram.com/xid/0dsia-k159y
Many functions of symbols also accept symbol names as arguments:
https://wolfram.com/xid/0dsia-c9kjej
Context gives the context of a symbol:
https://wolfram.com/xid/0dsia-txrsm
Possible symbol names can be characterized by regular expressions:
https://wolfram.com/xid/0dsia-ezsuu2
Symbol resolves context aliases:
https://wolfram.com/xid/0dsia-8ofh6
LocalSymbol and CloudSymbol provide for persistent storage of values:
https://wolfram.com/xid/0dsia-xo9lb0
https://wolfram.com/xid/0dsia-cnpypu
https://wolfram.com/xid/0dsia-787qo7
Wolfram Research (1988), Symbol, Wolfram Language function, https://reference.wolfram.com/language/ref/Symbol.html (updated 1996).
Text
Wolfram Research (1988), Symbol, Wolfram Language function, https://reference.wolfram.com/language/ref/Symbol.html (updated 1996).
Wolfram Research (1988), Symbol, Wolfram Language function, https://reference.wolfram.com/language/ref/Symbol.html (updated 1996).
CMS
Wolfram Language. 1988. "Symbol." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 1996. https://reference.wolfram.com/language/ref/Symbol.html.
Wolfram Language. 1988. "Symbol." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 1996. https://reference.wolfram.com/language/ref/Symbol.html.
APA
Wolfram Language. (1988). Symbol. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Symbol.html
Wolfram Language. (1988). Symbol. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Symbol.html
BibTeX
@misc{reference.wolfram_2024_symbol, author="Wolfram Research", title="{Symbol}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/Symbol.html}", note=[Accessed: 09-January-2025
]}
BibLaTeX
@online{reference.wolfram_2024_symbol, organization={Wolfram Research}, title={Symbol}, year={1996}, url={https://reference.wolfram.com/language/ref/Symbol.html}, note=[Accessed: 09-January-2025
]}