Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Namespace Management >

BeginPackage

BeginPackage["context`"]
makes context` and System` the only active contexts.
BeginPackage["context`", {"need1`", "need2`", ...}]
calls Needs on the needi.
  • BeginPackage is typically used at the beginning of a Mathematica package.
  • The interpretation of symbol names depends on context. BeginPackage thus affects the parsing of input expressions.
New in 1
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team