Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

 

Load Statement Summary

Loadis 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 Loadstatement are as follows:

 

AttributeDescription
ProjectThis 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.
SourcecodeThis 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.
PageThis 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 Loadstatement are as follows:

 

SubstatementDescription
FixUsing 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 Loadstatement are as follows:

 

ErrorDescription
1143Encountered illegal LOAD directive %1d
Table of Contents

  • No labels