Amiga E comes with the standard Amiga system include files as E modules. The AmigaDOS 2.04 modules are supplied with E version 2.1, and the AmigaDOS 3.0 modules are supplied with E version 3.0. However, modules are much more useful in E version 3.0 (see 12.5 Code Modules). If you want to use any of the standard Amiga libraries properly you will need to investigate the modules for that library. The top-level `.m' files in `Emodules:' contain the library function offsets, and those in directories in `Emodules:' contain constant and object definitions for the appropriate library. For instance, the module `asl' (i.e., the file `Emodules:asl.m') contains the ASL library function offsets and `libraries/asl' contains the ASL library constants and objects.
If you are going to use, say, the ASL library then you need to open the library using the
OpenLibrary function (an Amiga system function) before you can use any of the library functions.
You also need to define the library function offsets by using the
However, the DOS, Exec, Graphics and Intuition libraries don't need to be opened and their function offsets are built in to E.
That's why you won't find, for example, a `dos.m' file in `Emodules:'.
The constants and objects for these libraries still need to be included via modules (they are not built in to E).
Go to the Next or Previous section, the Detailed Contents, or the Amiga E Encyclopedia.