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

Get (<<)ReadList

Needs

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

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

FilledSmallSquareNeeds["context`"] calls Get["context`"]. By convention, the file loaded in this way is the one which contains a package that defines context`.

FilledSmallSquare Example: Needs["Collatz`"] typically reads in a file named Collatz.m.

FilledSmallSquare See The Mathematica Book: Section 2.6.10.

FilledSmallSquare See also: Get, DeclarePackage, FileNames.

FilledSmallSquare Related package: Utilities`Package`.

Further Examples

Get (<<)ReadList