skip to main content
OpenEdge Development: Basic Development Tools
Procedure Editor Reference : Compile menu
 
Compile menu
The Compile menu options allow you to run and compile ABL procedures. Table 17 describes the menu that appears when you choose this option.
 
Table 17: Compile menu 
Menu option
Description
Run
Compiles and runs the procedure in the current buffer
Check Syntax
Checks the syntax of the procedure in the current buffer
Debug
Invokes the Debugger for the procedure in the current buffer
Compiler Messages
Displays the compiler messages for the most recent compilation
Compile>Run
Choose this option to compile and run a procedure in the current buffer. Figure 16 shows an example of the screen output of a compiled procedure.
Figure 16: Compiled procedure example output to screen
When the procedure is complete, press SPACEBAR to return to the Procedure Editor. You return to the buffer, and the cursor is in the same position as when you executed CompileRun.
If you run a procedure that contains only the QUIT statement, the procedure stops running and the Procedure Editor automatically exits. If you have buffers open with changes in them, the Procedure Editor prompts you to save the changes before exiting.
Compile>Check Syntax
Choose this option to compile the procedure in the current buffer and check for ABL syntax errors.
The Compiler Messages dialog box explains any problems in the syntax. OpenEdge displays an alert box when the syntax is correct.
Compile>Debug
Choose this option to access the Debugger and debug the procedure code in the current buffer. For more information about debugging a procedure, see OpenEdge Development: Debugging and Troubleshooting.
Note: If the procedure in the current buffer does not compile, the Procedure Editor does not open the Debugger when you choose this option.
Compile>Compiler Messages
Choose this option to display the compiler messages for the most recent compile. Figure 17 shows an example of the Compiler Messages dialog box.
Figure 17: Compiler Messages dialog box