Chapter 3 The Application Description Language

3.28 Program Structure

An ADL program consists of a succession of the following elements in any order:

Global variables and global methods are implicit members of an anonymously declared instance or subclass of the system-defined application class, theAppClass.

You can use the uses statement to include the contents of a file or files that replace the statement at parse time. If multiple uses statements referring to the same file are parsed, the file is still included only once. A uses statement has two forms:
Uses Statement Forms
uses "fileName"@"libraryName";
uses "fileName";

In the first form, the statement asks for the file named "fileName" to be loaded from the library named "libraryName". In the second form, it asks for the file named "fileName" to be loaded from the same library as the file in which the statement occurs. AM2 designates the files in the application file's directory to be "AppLib".


AM2 Documentation - 19 NOV 1996

Generated with Harlequin WebMaker