|
To me it seems that the major problem with indicators is that their meaning is not self documenting. This is fine if the use of lefthand indicators is local to the subroutine or function. If the value of the indicator is global in scope, you should assign the indicator value to a named variable. C CHAIN MSTFILE 50 C eval EOF_MSTFIL = *in50 JMO Eric A DeLong ericadelong@pmsc.com ______________________________ Reply Separator _________________________________ Subject: RE: what is unclear about 01 02 03 -Reply Author: <MIDRANGE-L@midrange.com > at INTERNET Date: 5/5/98 8:43 AM Peter At 03:35 PM 5/5/1998 -0400, you wrote: >Buck writes: > >> 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! > >I may not be an old hand, but I *do* use lefthand indicators under >some conditions, especially when handling the results from an >operation that signals it's success or failure via indicators. >The rationalization is that the silly thing was set a line or two >above and thus, it's meaning and significance is not mysterious. >Lefthand indicators just seem cleaner somehow... Your point is well taken. The key part for me is that the test is close to the point of setting the indicator. I believe we all agree that maintaining RPGII stuff that set indicators in I-specs can be absolute murder. I still welcome the move toward named indicators. And more freeform (like Buck's example-love it!). But one person's 'cleaner' is another person's 'cryptic'. You pays your money and you takes your choice. In the end, we use our resective shop standards-oops, could be another thread unraveling here. 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 +--- +--- | 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.