$Context
大域変数で,現行のコンテキストを与える.
詳細
- コンテキストは,"name`"の形式の列で指定される.
- $Contextは,Begin,BeginPackage,End,そしてEndPackageによって変更される.
- $Contextは,多くのオペレーティングシステムにおけるファイルの現行ディレクトリと対応するWolfram言語のシンボルである.
関連項目
Context $ContextPath CellContext $ContextAliases
Function Repository: ReplaceContext FullSymbolName
関連するガイド
-
▪
- 名前空間の管理
関連するワークフロー
- シンボル名のシャドーイングに対処する ▪
- シンボルや関数の定義を消去する ▪
- それぞれのノートブックに自動的に別々のコンテキストを使う
履歴
1988 で導入 (1.0)
テキスト
Wolfram Research (1988), $Context, Wolfram言語関数, https://reference.wolfram.com/language/ref/$Context.html.
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
BibTeX
@misc{reference.wolfram_2025_$context, author="Wolfram Research", title="{$Context}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/$Context.html}", note=[Accessed: 15-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_$context, organization={Wolfram Research}, title={$Context}, year={1988}, url={https://reference.wolfram.com/language/ref/$Context.html}, note=[Accessed: 15-April-2026]}