Chapter 3 The Application Description Language
uses "SlideViewer.cl"; // defines class SlideViewer class SlideShow { SlideViewer myViewer; . . . }; |
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 "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".
Generated with Harlequin WebMaker