Loads a module dynamically at runtime, adding the function definitions found therein to the global package of Meta-HTML functions.
load-module
returns the string "true"
if the module is loaded successfully, or places an error in system-error-output
if not.
MODULE-NAME is searched for by looking in each directory specified in the array mhtml::module-directories
, or by loading the module as if the name specified is the full pathname to that file.
Once a module is loaded, the functions within it can be invoked just as with any standard Meta-HTML command.
See the examples.c
file in the modules
directory of your distribution for more information on writing Meta-HTML modules.
Example: