|
"dozens of nesting levels" scares the daylights out of me. That sounds to me like a programming monster waiting to bite the programmer that touches it. In my experience these programs usually have hundreds of lines of code, convoluted logic that has evolved over decades, and redundant code. "Leave" and "iter" are needed for the programmer's self defense, but I can not believe the platform is well served with those kinds of programs remaining as legacy. --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: 11/22/2003 11:42:54 AM To: RPG programming on the AS400 / iSeries Subject: Re: Infinit loop in /free Forgive me, I must join the chorus in favor of "leave" and "iter". On occasion I have counted dozens of nesting levels for "if"s and "do"s. With leave and iter, you are not "jumping the loop boundary", which it seems is one of those structured programming principles. - Alan
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.