Progress
Basic Development
Tools


Options Menu

The Options menu lets you specify file information and display all the compilation status messages. Table 5–7 lists the Options menu.

Table 5–7: Options Menu 
Options

Compiler...

Supplies more information about the source files to be compiled.

Show Status

Shows all messages in the Compiler Results window when you compile.

Options Compiler

Choose Options Compiler to supply more information about the file you want to compile. When you choose this option, the Compiler Options dialog box appears as shown in Figure 5–4.

Figure 5–4: Compiler Options Dialog Box

Table 5–8 describes the fields in the Compiler Options dialog box.

Table 5–8: Compiler Options Dialog Box
Field
Purpose
Default File Spec
Specifies the types of files you want to add to the file/directory specification list. The default file specification is *.p, *.w.
Message Log File
Specifies the file to which the Application Compiler sends compiler messages and status. The default output filename is compile.log.
Save into
Specifies the directory where you want to save the r-code files. By default, the Application Compiler saves the r-code files into the directory that contains the source file.
Languages
Identifies the language segment to be created in the r-code. The Application Compiler compiles the source file as well as strings translated into different language segments into the r-code file. The default language is the language in your source code. Enter the names of the languages separated by a space. Progress stores translated character strings for each specified language in separate text segments within the r-code file. For the Application Compiler to include translations, you must be connected to a translation database.
Stream-IO
Specifies that all output from the compiled procedure be formatted for output to a file or printer. All font specifications are ignored and all frames are treated as if they included the USE-TEXT option.
Listing File
Specifies the name of the listing file. The Application Compiler produces a listing of the compilation that includes the following information:
  • The number of the block where each statement belongs
  • The name of the source file you are compiling
  • The date and time at the start of the compilation
  • The line number of each line in the source file
  • The complete text of all include files and the name of any subprocedures
  • The buffer and frame scopes to procedures, internal procedures, and trigger blocks
Append (Listing File)
Specifies to append the current listing of the compilation to an existing listing file. If you do not select this option, the Application Compiler creates a new listing file that replaces any file of the same name.
Page Width
Specifies the page width for the listing file. The default page width is 80 characters per line. Enter a number between 80 and 255.
Page Length
Specifies the page length for the listing file. The default page length is 60 lines per page. Enter a number between 10 and 127.
Xref File
Specifies the file where the Application Compiler writes cross-reference information between source files and database objects.
For each object reference, the xref file contains one unformatted and blank-separated line containing the following:
  • Procedure name
  • Source filename
  • Line number
  • Reference type
  • Object identifier
See the COMPILE statement in the Progress Language Reference for more information on the cross-reference file.
Append (xref File)
Specifies to append the xref listing of the source file to an existing xref file. If you do not select this option, the Application Compiler creates a new xref file that replaces any file of the same name.
Debug File
Specifies the file where the Application Compiler writes a listing to the debug file. The debug file consists of a line-numbered listing of the procedure with the text of all preprocessor include files, names, and parameters inserted.
Encryption Key
Specifies the key the Application Compiler uses during compilation to decrypt the source file and any encrypted include files. Encrypted files provide security against users accessing and modifying source files. Progress lets you use either the default key to encrypt source procedures or your own encryption key. If you use your own encryption key, enter it here. If you use an encryption key, the Application Compiler does not produce a listing file as a security measure.
For more information on encryption keys and procedures, see the COMPILE statement in the Progress Language Reference and the XCODE utility in the Progress Client Deployment Guide.
Defaults
Changes the current Compiler options to the Application Compiler default settings.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095