Contexts

Contexts[]

gives a list of all contexts.

Contexts["string"]

gives a list of the contexts that match the string.

Details and Options

  • Contexts allows abbreviated string patterns containing the following metacharacters:
  • *zero or more characters
    @one or more characters, excluding uppercase letters
    \\*, etc.literal *, etc.
  • Contexts["string"] includes any context aliases matching "string" by default. With ResolveContextAliasesFalse, only non-aliased matching contexts will be returned. »

Examples

open allclose all

Basic Examples  (1)

Give all contexts starting with "As":

Options  (1)

ResolveContextAliases  (1)

Contexts resolves aliases by default:

Use the ResolveContextAliases option to prevent alias resolution:

Wolfram Research (1991), Contexts, Wolfram Language function, https://reference.wolfram.com/language/ref/Contexts.html (updated 2021).

Text

Wolfram Research (1991), Contexts, Wolfram Language function, https://reference.wolfram.com/language/ref/Contexts.html (updated 2021).

CMS

Wolfram Language. 1991. "Contexts." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/Contexts.html.

APA

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

BibTeX

@misc{reference.wolfram_2023_contexts, author="Wolfram Research", title="{Contexts}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/Contexts.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_contexts, organization={Wolfram Research}, title={Contexts}, year={2021}, url={https://reference.wolfram.com/language/ref/Contexts.html}, note=[Accessed: 19-March-2024 ]}