Try OpenEdge Now
skip to main content
Object-oriented Programming
Getting Started with Classes, Interfaces, and Objects : Using the CLASS construct : Defining properties within a class : Comparison with procedure-based programming
 
Comparison with procedure-based programming
In procedures, the closest equivalent to a property is a user-defined function. You might define one function equivalent to the GET accessor that returns a value, and another function (or internal procedure) equivalent to the SET accessor that accepts the setting value as an INPUT parameter.