This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Programming / Scoping /


FilledSmallSquare $ContextPath is a global variable that gives a list of contexts, after $Context, to search in trying to find a symbol that has been entered.

FilledSmallSquare Each context is specified by a string of the form "name`".

FilledSmallSquare The elements of $ContextPath are tested in order to try and find a context containing a particular symbol.

FilledSmallSquare $ContextPath is modified by Begin, BeginPackage, End and EndPackage.

FilledSmallSquare $ContextPath is a rough analog for Mathematica symbols of the "search path" for files in many operating systems.

FilledSmallSquare See Section 2.7.8.

FilledSmallSquare New in Version 1.

Further Examples