Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
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
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team