× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



LOL James you just reminded me of a funny story that happened a few years
back...

someone wrote a program with nothing but a select block of code that
never set on LR or did a return...of course they beat themselves up for a
long time before they asked someone else why it looped endlessly...thank
you cycle....(P.S. no it wasn't me...i was just the guy they asked..and
laughed loudly!)

Thanks,
Tommy Holden



James Lampert <jamesl@xxxxxxxxxxxxxxxxx>
Sent by:
midrange-l-bounces+tommy.holden=thompsonmachinery.com@xxxxxxxxxxxx
08/20/2007 02:08 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc

Subject
Re: RPG Cycle






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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.