|
Level breaks, O-specs, and such, them's hard. I freely admit that I
haven't been able to make constructive use of them (beyond putting LR in
the "Level" column on a statement to be executed only after The Cycle
has completed). But level breaks are only part of The Cycle, and O-specs
are peripheral to it.
The concept of an implicit DO-loop enclosing the entire main program,
with implicit reads of optional primary and secondary files, controlled
either by the primary file (if used) or by explicitly setting the LR
indicator on in response to some other event (as in using The Cycle as
the event loop of an interactive program) is simplicity itself.
If a programmer undertakes to learn RPG, and can't figure out the easy
part of The Cycle, and how to make constructive use of it, he or she is
in the wrong line of work. If formal instruction in RPG fails to fully
cover level breaks and O-specs, at least in the advanced class, then
whoever designed the curriculum is in the wrong line of work.
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.