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


DeclarePackage["context`", {"name1", "name2", ...}]
declares that Needs["context`"] should automatically be executed if a symbol with any of the specified names is ever used.
  • You can use DeclarePackage to tell Mathematica automatically to load a particular package when any of the symbols defined in it are used.
New in 2