Try OpenEdge Now
skip to main content
Application Development Environment (ADE) Addenda
Progress Dynamics Addenda : Adding declarative statements in AppBuilder-generated code
 

Adding declarative statements in AppBuilder-generated code

Introduced:

OpenEdge R10.2B
Certain ABL statements (such as, USING and ROUTINE LEVEL ON ERROR UNDO, THROW) must come before any definitional and executable statement in order for a class or procedure to compile correctly. The AppBuilder's Procedure Settings dialog now enables you to specify statements of this type that you want generated into your AppBuilder code. The button launches the Edit Declarative Statements dialog with an editor where you can add these statements. The declarative statements added in the editor are generated into a new section in the source code. This section is written before both the optional temp-table definitions and the optional AppServer include.