|
Hi Hans, > Anton Gombkötö wrote: >> ... >> (And GOTO was forbidden (and i mean it! A guy wrote a program to check >> the source codes for that and for ITER, LEAVE, ...!) long years ago... >> ;-) >> > Oh dear oh dear oh dear! > Why oh why would you not want to use such nice opcodes as ITER and > LEAVE? <snip> To make things shrt, it was a thing of non-discussion. The company i was working for sent me as a contractor to that company. It was to accept their rules or go away. I had several discussions (not about GOTO :-) after i proved to be not a fool but to no avail. But i was the reason they changed one thing: the use of /COPY was allowed! (Ah! Did i tell that /COPY was forbidden? :-) My argument was QSYSINC and keeping up and safe automatically. Which was in fact partly a lie because i found no way to make them (the DSes) pointer-BASED. Good old Auto Report could change /COPYs, couldn't it? > I think the only people who object to ITER and LEAVE in RPG are those > who try too hard to follow the "rules" of structured programming. It was a german (and when i say german, i mean GERMAN!) guy setting up the rules. Need i tell more? :-) > Structured programming is fine, but it still shouldn't be allowed to > get in the way of readable programs. (Just my humble opinion.) 100% agreed. > Cheers! Hans And another time. Cheers! -- Mit freundlichen Grüssen / best regards Anton Gombkötö Organisation und Projektleitung Avenum Technologie GmbH Wien - Salzburg - Stuttgart http://www.avenum.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.