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 DeclarePackage["context`", "", "", ... ] declares that Needs["context`"] should automatically be executed if a symbol with any of the specified names is ever used.

FilledSmallSquare You can use DeclarePackage to tell Mathematica automatically to load a particular package when any of the symbols defined in it are used.

FilledSmallSquare DeclarePackage creates symbols with the attribute Stub in the specified context.

FilledSmallSquare DeclarePackage prepends context` to $ContextPath.

FilledSmallSquare See Section 2.7.11.

FilledSmallSquare See also: Needs, $NewSymbol.

FilledSmallSquare New in Version 2.