module::func
-- creates a module
function environmentmodule::func
(name,fname)
creates a
function environment.
module::func(name <, fname>)
name |
- | module name: character string, identifier or module domain |
fname |
- | function name: character string or identifier |
a function environment function environment of type DOM_FUNC_ENV
.
external
, loadmod
, module::new
, unloadmod
module(name,fname)
is an abbreviation for
module::
module::func
(name,fname)
.module::func
(name,fname)
uses the kernel
function external
to
create a module function environment.Module function environments can be stored in local or global variables and be used to execute module functions without loading the module explicitly.
>> where := module::func("stdmod","which"): where("stdmod")
"/usr/local/mupad/linux/modules/stdmod.mdm"