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

Needs

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.
  • Needs["context`"] calls Get["context`"]. By convention, the file loaded in this way is the one which contains a package that defines context`.
  • Needs["file`"] typically reads in a file named file.m.
Read in the file for the Computer Arithmetic Package if it has not already been read:
The commands defined by the package are ready for use:
Read in the file for the Computer Arithmetic Package if it has not already been read:
In[1]:=
Click for copyable input
The commands defined by the package are ready for use:
In[3]:=
Click for copyable input
Out[3]=
New in 1