Try OpenEdge Now
skip to main content
Object-oriented Programming
Developing and Deploying Classes : Accessing class definition files using Progress Developer Studio for OpenEdge : Syntax checking, compiling, and running a class
 

Syntax checking, compiling, and running a class

When you save a class definition file in the Editor or manually initiate a syntax check, any syntax errors are highlighted in the Editor using a red circle with an "X" in it during editing, as shown for the CheckCredit( ) method definition that is missing a terminator in an END statement. If you enable the Save R-code option for the project, the class definition file, including its entire class hierarchy is compiled and built in the target r-code directory. The exact location is relative to the project and the class (or interface) type name. You can run a class by using the Run toolbar icon (green circle with triangle).
For more information on class topics, such as creating a new class, Progress Developer Studio for OpenEdge online help. To locate these class topics, choose Help® OpenEdge Architecture Guide® ABL Tools® Writing and Testing ABL Code.