
external - function environment of a module function

Calling sequence:
external(fstring)
external(mstring)

Parameter:
fstring   --  character string
mstring   --  character string

Summary:

external returns the function environment (DOM_FUNC_ENV) of the function
fstring of the module mstring. The specified function can be executed with
this, without it being explicitly loaded by the user. If necessary the MuPAD
module-manager loads the module-code automatically.  In contrast to the
function loadmod no global identifiers are defined. external is a function of
the system kernel.

If the file mstring.mdg exists for the module then it contains the objects
that are now loaded and are bound to the function environment. If an error
occurs while loading these objects then a warning follows and MuPAD tries
to re-load these objects at every call of this module function.

>>  mfunc:= external("date","stdmod")(); mfunc();

      date
      "Fri Jun 17 13:55:18 1994"

See also:  loadmod , unloadmod

