Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Load Statement Summary
Load is a nonterminal, utility statement that can occur only in command scripts. The statement loads source compilation units so that they can be edited, analysed, or ordered by other utility statements in preparation for processing.The attributes of the Load statement are as follows:
Attribute | Description |
Project | This attribute names a project file to be loaded in the same manner as the first step in the Compile statement. Loading the project file begins by first storing the name of the project file in the symbol table and making certain that it is unique. Second, the project file itself is loaded into an edit buffer. Third, the GlobalSettings file is checked to see if any edit fixes are to be applied to the project file. Fourth, the file is searched for the its Name and Exename32 entries whose values are then stored in the symbol table. |
Sourcecode | This flag attribute applies only to project loads. If on, the individual source files in the project are loaded. This involves searching the project file for Form, UserDocument, UserControl, Module, and Class entries whose values are the source code filenames to be loaded. Each file is then loaded into an edit buffer and its name is stored in the symbol table. For each file the GlobalSettings file is checked to see if any edit fixes are to be applied to it. |
Page | This attribute names a file in an ASP site to be loaded into a text buffer in raw form. This is not a PageSlice load as is performed by the compiler. |
The substatements of the Load statement are as follows:
Substatement | Description |
Fix | Using the Fix command statement as a substatement of the load restricts the range of application of the fixes to code files within the project or single page. |
The script errors associated with the Load statement are as follows:
Error | Description |
1143 | Encountered illegal LOAD directive %1d |
Panel | ||||
---|---|---|---|---|
| ||||
|