BUILT-IN WOLFRAM LANGUAGE SYMBOL
is a global variable that gives a list of contexts, after $Context, to search in trying to find a symbol that has been entered.
- Each context is specified by a string of the form .
- The elements of $ContextPath are tested in order to try to find a context containing a particular symbol.
- $ContextPath is modified by BeginPackage and EndPackage.
- $ContextPath is a rough analog for Wolfram Language symbols of the "search path" for files in many operating systems.
The default contexts for looking up symbols:
If a symbol with a given name cannot be found in one of these contexts a new one is created:
It is created in the context given by $Context:
Turn off the message for new symbol creation: