|
Terry At 12:08 AM 5/4/1998, you wrote: -snip- >> People have railed against the use of indicators for *EVER because >> the indicator number does not help understanding the intent of the >> code. Without researching the rest of the program, we'll never >> understand this line of code. Us geezers have to learn to write more >> l >ike: >> >> C AMT$ IFGT WARN$ >> C CUSTCD ANDLTBESTCD >> C REGION ANDEQMIDWST >> C EXSR WARN >> C ENDIF >> >> which isn't crystal clear without comments, but it's _better_ >> I'm personally happy that there are RPGers among us who don't use >> left hand indicators, because it means that they're using more >> meaningful names instead! >> <grin and duck> >> >> >> Buck Calabro >> Commsoft, Albany, NY >> mailto:mcalabro@commsoft.net > >Just a thought Buck, > >What if you made the example above even more clearer by coding this way: > >IF AMT$ GT WARN$ >AND CUSTCD LT BESTCD >AND REGION EQ MIDWST >PERFORM WARN$ >END-IF > >Guess what?... Congratulations! Your a COBOL Programmer! >Kinda makes you go hummmm! Anyone else think that D-specs are a lot like the (what's it called?) Definition Section? Cheers Vernon Hamberg Systems Software Programmer Old Republic National Title Insurance Company 400 Second Avenue South Minneapolis, MN 55401-2499 (612) 371-1111 x480 +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.