To use the definitions in a particular module you use the MODULE statement at the beginning of your program (before the first procedure definition).
You follow the MODULE keyword by a comma-separated list of strings, each of which is the filename (with path if necessary) of a module (without the `.m' extension--since every module file name must end with `.m').
The filenames (and paths) are all relative to the logical volume `Emodules:' (which can be set-up using an assign as described in the Reference Manual), unless the first character of the string is `*'.
In this case the files are relative to the directory of the current source file.
For instance, the statement:
MODULE 'fred', 'dir/barney', '*mymod'
will try to load the files `Emodules:fred.m', `Emodules:dir/barney.m' and `mymod.m'. If it can't find these files or they aren't proper modules the E compiler will complain.
All the definitions in the modules included in this way are available to every procedure in the program.
To see what a module contains you can use the showmodule program that comes with the Amiga E distribution.
Go to the Next or Previous section, the Detailed Contents, or the Amiga E Encyclopedia.