next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: loadPackage(Package)

loadPackage(Package) -- reload an already loaded package

Synopsis

Description

This reloads a package. The package PACKAGE should already have been loaded at an earlier step, using a command such as loadPackage("PACKAGE") or needsPackage("PACKAGE"), i.e., using the name of the package as a string. If that has been done, then this command will reload the package.

In fact this version of the command is simply a convenient short form of loadPackage with the option Reload set to true. All options of loadPackage (other than Reload) are available.

i1 : loadPackage "FirstPackage"

o1 = FirstPackage

o1 : Package
i2 : loadPackage FirstPackage

o2 = FirstPackage

o2 : Package

See also