Try OpenEdge Now
skip to main content
Object-oriented Programming
Developing and Deploying Classes : Using procedure libraries

Using procedure libraries

You can store and retrieve the r-code for class files using procedure libraries.
The DEFINE statements (such as DEFINE VARIABLE) and NEW function search the PROPATH for the specified class r-code file. If the statements encounter a procedure library on the PROPATH, ABL searches these libraries for the specified r-code.
The RUN statement supports the ability to execute an r-code file stored in a procedure library that is not on the PROPATH using the following syntax:
RUN procedure-library-path<<member-name>>
There is no support of this capability for classes. When you define an object reference or create a class instance, the r-code for that object must be found on the PROPATH.