Windows AppBuilder
In the Windows Appbuilder the Application Compiler is found in the Tools Menu.
Procedure Editor (Linux - pro or Windows pro.exe
In the Procedure Editor (both Linux and Windows) the Compiler if found in the Tools menu.
Application Compiler
Regardless of OS the function...
The compile statement lets you compile programs in Progress ABL:
Basic usage:
COMPILE hello-world.p SAVE.
With a variable:
DEFINE VARIABLE prog AS CHARACTER NO-UNDO.
prog = "hello.p".
COMPILE VALUE(prog) SAVE.
There are several options to the COMPILE-statement:
SAVE state...
The COMPILER system handle let's you look at information regarding a recent compile.
Assuming ok-program.p is a program without any errors or warning:
COMPILE ok-program.p SAVE NO-ERROR.
DEFINE VARIABLE iError AS INTEGER NO-UNDO.
MESSAGE
"Errors: " COMPILER:ERROR SKIP
...