Context

Context[]

gives the current context.

Context[symbol]

gives the context in which a symbol appears.

Details

  • The current context is the value of $Context.

Examples

Basic Examples  (2)

Give the current context. The default is "Global`":

If a new symbol is created, it will have this context:

Give the context of an existing symbol:

Wolfram Research (1988), Context, Wolfram Language function, https://reference.wolfram.com/language/ref/Context.html.

Text

Wolfram Research (1988), Context, Wolfram Language function, https://reference.wolfram.com/language/ref/Context.html.

BibTeX

@misc{reference.wolfram_2020_context, author="Wolfram Research", title="{Context}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/Context.html}", note=[Accessed: 16-January-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_context, organization={Wolfram Research}, title={Context}, year={1988}, url={https://reference.wolfram.com/language/ref/Context.html}, note=[Accessed: 16-January-2021 ]}

CMS

Wolfram Language. 1988. "Context." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Context.html.

APA

Wolfram Language. (1988). Context. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Context.html