module::which
-- installation path
of a modulemodule::which
(name)
returns the
installation path of a dynamic module.
module::which(name)
name |
- | module name: character string, identifier or module domain |
a character string of type DOM_STRING
or the value FAIL
, if the module cannot be
found.
external
, loadmod
, module::new
module::which
(name)
uses the module
function stdmod::which
to determine the module
installation path.The example demonstrates how to determine the
installation path of a dynamic module. The value FAIL
is returned for an unknown
module.
>> module::which("stdmod")
"/usr/local/mupad/linux/modules/stdmod.mdm"
>> module::which("AnyUnknownModule");
FAIL
loadmod
.