|
Later (still on a /3) when I had an epiphany that uniqueness wasn't important (except in the I-specs and even that could be shortened), I wrote a 2000+ line program with only one [1] indicator (aside from the aforementioned I-specs).
OK, then, my candidate. Bear in mind that I wrote this and that it was my very first program.
C 64 GOTO END CL5 END TAGThat sucker ran through lunch on one invoice before we killed it. That's when I went back and memorized the RPG cycle.
* Jerry C. Adams *iSeries Programmer/Analyst B&W Wholesale Distributors, Inc.* * voice 615.995.7024 fax 615.995.1201 email jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx> James H H Lampert wrote:
It's not exactly all that hard to run out of indicators, particularly in OPM. Sometimes, if a program has lots and lots of Boolean data, I have to (1) check compilation listings to find unused indicators, and/or (2) ration the indicators, and only use them for those Boolean values that, for one reason or another (like display file control), HAVE to be indicators.Personally, I'm rather fond of using multiples of 13 to indicate that something bad happened, and multiples of 7 to indicate that something good happened.-- 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.