|
The RPG cycle is**************
most certainly an event-driven process. the handlers used with
XML-INTO, XML-SAX, or Open Access are also coded in an event-driven fashion.
Well ok, you could say it is event driven. But most (non-RPG) programmers. . .
wouldn't call it like that. The problem with this implementation (besides
that these events are triggered within a specific structure/order) is that
there is some coupling between the event and code.
Also, you can't simply add your own events.. . .
Both of you miss the point: While it's debatable whether or not "total
time" or "initialization" qualify as "events," The Cycle itself *is* a
ready-made event-loop, repeating the main body of the program until some
*event* (whether a primary file running out of records, or something
explicitly setting on LR) tells it to shut down, and in which various
other *events* are responded to in various ways.
--
JHHL
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.