Calling functions defined in another file
Functions that are defined in another file can be called from UPoC scripts or functions. This helps code maintenance and reuse.
Before calling the functions, the file in which they are defined
must be loaded into the engine. Function clLoad()
is used to load a JavaScript file. clImport()
imports identifiers that are defined in a Python module. Only the bare file name is
necessary. The file search is directed in the scripts subdirectories of the current site, master site, and root
directories.