Comparison with procedure-based programming PUBLISH and SUBSCRIBE
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
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: 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.