Try OpenEdge Now
skip to main content
Object-oriented Programming
Object-oriented Programming and ABL : Overview of class-based ABL : Publishing and responding to class events : Comparison with procedure-based programming
 
Comparison with procedure-based programming
You publish named events for procedures using the PUBLISH statement; you subscribe internal procedures as event handlers for named events using the SUBSCRIBE statement; and you remove internal procedures as event handlers for named events using the UNSUBSCRIBE statement. Note that unlike with class events, operations on named events can only be verified at run time, and named events can only be defined at run time when they are published.