Mathematica 9 is now available

Needs

Usage

Needs["context`"] loads an appropriate file if the specified context is not already in $Packages.
Needs["context`", "file"] loads file if the specified context is not already in $Packages.


Notes

Needs["context`"] calls Get["context`"]. By convention, the file loaded in this way is the one which contains a package that defines context`.
• Example: Needs["Collatz`"] typically reads in a file named Collatz.m.
• See also: Get, DeclarePackage, FileNames.
• Related package: Utilities`Package`.
• New in Version 1.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.