Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Package Development >

DeclarePackage

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
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team