Previous Page Contents

module::which -- installation path of a module

Introduction

module::which(name) returns the installation path of a dynamic module.

Call(s)

module::which(name)

Parameters

name - module name: character string, identifier or module domain

Returns

a character string of type DOM_STRING or the value FAIL, if the module cannot be found.

Related Functions

external, loadmod, module::new

Details

Example 1

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

Background




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000