WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

Contexts []

gives a list of all contexts.

Contexts ["string"]

gives a list of the contexts that match the string.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Options  
ResolveContextAliases  
Properties & Relations  
See Also
Tech Notes
Related Guides
History
Cite this Page

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 ResolveContextAliases False , only non-aliased matching contexts will be returned. »

Examples

open all close 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:

Properties & Relations  (1)

The number of contexts used throughout the system is large:

See Also

$Packages   $ContextPath   Names   Context   $ContextAliases

Function Repository: Contextualize

History

Introduced in 1991 (2.0) | Updated in 2021 (13.0)

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_2025_contexts, author="Wolfram Research", title="{Contexts}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/Contexts.html}", note=[Accessed: 05-December-2025]}

BibLaTeX

@online{reference.wolfram_2025_contexts, organization={Wolfram Research}, title={Contexts}, year={2021}, url={https://reference.wolfram.com/language/ref/Contexts.html}, note=[Accessed: 05-December-2025]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /