Progress
Basic Development
Tools
Using the Toggle Boxes
The toggle boxes let you specify criteria for compiling your procedures. The following list describes the toggle boxes and how selecting them affects your compilation:
- Save New .r Files — Table 5–1 describes how choosing this toggle box affects the compilation process.
If you specify a directory in the Save Into field of the Compiler Options dialog box, the Application Compiler saves the new r-code files into that directory. If you do not specify a directory in the Save Into field, the Application Compiler saves the new r-code files into the directory that contains the source code files.
- Look in Subdirectories— Searches for and compiles the specified source file(s) in the subdirectories of the selected directory.
- Remove Old .r Files — Deletes any existing r-code file that corresponds to the specified source file in the same directory. You do not need to select this option if you are going to save the new r-code files because newly compiled r-code files automatically replace existing ones.
You must select this option when you want to compile source files for only the Progress session (that is, without saving the r-code files). Thereafter, when you run the compiled procedures, the Application Compiler ensures that you are running the latest versions. If you do not first remove the existing r-code files, the Application Compiler does not recompile the source files. Instead, the error message “Compile aborted. SAVE not specified and .r file exists” appears.
- Only Compile if No .r File — Compiles the specified source files only when no corresponding r-code files are found in the selected directory.
NOTE: You cannot specify both Remove Old .r Files and Only Compile if No .r File at the same time. When you choose one option, the Compiler automatically deactivates the other.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |