module::func -- creates a module
function environment
Introductionmodule::func(name,fname) creates a
function environment.
Call(s)module::func(name <, fname>)
Parametersname |
- | module name: character string, identifier or module domain |
fname |
- | function name: character string or identifier |
Returnsa function environment function environment of type DOM_FUNC_ENV.
Related
Functionsexternal, loadmod, module::new, unloadmod
Detailsmodule(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.
Example
1Module 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"
Background