Previous Page Next Page Contents

external -- create a module function environment

Introduction

external("mstring", "fstring") returns the function environment of the module function mstring::fstring.

Call(s)

external("mstring", "fstring")

Parameters

"mstring" - the name of a module: a character string
"fstring" - the name of a module function: a character string

Returns

a function environment of type DOM_FUNC_ENV.

Related Functions

loadmod, module::new, unloadmod

Details

Example 1

Module function environments can be stored in local or global variables. They can be used to execute module functions without loading the module explicitly:

>> where := external("stdmod", "which"): where("stdmod")
                "/usr/local/mupad/linux/modules/stdmod.mdm"
>> delete where:

Background

Changes




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000