Importing modules
Describes how to define modules interdependence with IMPORT FGL.
With the IMPORT FGL
instruction, module symbols such as
variables, types and constants can be referenced in the importing module.
The next source example imports the myutils and account
modules, and uses the init() and set_account() functions of
the imported modules. The first function call is qualified with the module
name - this is optional but required to resolve ambiguities when the same
function name is used by different modules:
IMPORT FGL myutils
IMPORT FGL account
MAIN
CALL myutils.init()
CALL set_account("CFX4559")
...
END MAIN