Implementation
In AMT Lion the interfaces and routines of an external interface definition are not used and can be
omitted. However, defining them can be helpful for developers as a reference guide of the available interfaces in the external library. |
Within the folder "implementation", you can view and edit the optional code for the External
Interface definition that you have opened. In this folder, each code section is represented by a subfolder.
The left and right pane are automatically synchronized, which means that the subfolder that is selected always
represents the code section where the cursor is positioned.
External Interface definitions contain the following code sections:
When doing a right mouse click, a popup menu will display options to customize the view, display additional information or to perform certain actions on the code.
By setting the pop down menu options "Show line number" and "Show revision", extra information may (or may not) be displayed before each code line. For "Show revision", there are several options provided. When the option "Revision" (or "All") is selected, there will be shown five asterisks (*****) before every new code line. Only after checking in the current revision, these asterisks will be replaced with the new revision number.
Definitions
In this section you can optionally declare the interfaces of the external library.
BEGIN_DEFINITIONS
TYPE
INTERFACE
TestCall
ROUTINE CallHello ()
END_INTERFACE
END_DEFINITIONS
The definition section begins with the keyword "BEGIN_DEFINITIONS" and ends with the keyword "END_DEFINITIONS".
Between these keywords, Interfaces are defined below the keyword "TYPE".
Below your Interfaces the External Interface definition is closed by the End_Interface keyword and the before mentioned "END_DEFINITIONS" keyword.