
loadlib - loads a library package

Calling sequence:
loadlib(string)

Parameter:

string   --  character string

Summary:

loadlib loads the proceduresof the library package with the name string.
The library packages described in this manual (e.g. Type) are loaded by the
system init file at the beginning of a MuPAD session. Therefore the function
loadlib is only necessary for loading further packages.

The individual procedures of the library are normally loaded with the loadproc
function. They are only defined at their first call; before this their definition
is invalid.

A library is only loaded at the first call of loadlib.  A subsequent call of
loadlib does not re-load the same library.

loadlib first tries to read the binary file named LIBFILES/BIN/string.mb.
If such a file doesn't exist the text file LIBFILES/string.mu is searched for.
These files are searched in the directories given by LIB_PATH .

The library file, in its turn, then loads the procedures of the library with
loadproc. As a model for a library file the file LIBFILES/stdlib.mu under
UNIX can be used.

One may cause the system to load ones own library files in addition to those
in the system library by defining a local library which contains the same
subdirectory LIBFILES as the system library and the new library files. The
root directory of the local library must then be inserted into the LIB_PATH.

>>  loadlib("sharelib"):

See also:  fread , loadproc

