|
Kahn, David wrote: > > On May 24 1997 Booth Martin (boothm@earth.goddard.edu) wrote: > > >Why does: > > 90 LEAVE > >lack full clarity? > > > Because 1) IF/ENDIF is structured, and 2) it's easy for the scanning eye to > miss the conditioning indicator. Brevity does not always increase clarity. > I don't know about the rest of you, but any time a line of code performs a SETLL, READx or CHAIN which sets a resulting indicator, the statement immediately following perfoms some action as to the condition of the indicator. Now I'm a believer in structured code as much as the next person and I believe that reducing indicator useage is a good thing, but RPG IS an indicator based language in this particular case we're talking about the execution of a single statment based upon the status of a single indicator. When using structured code is it for the purpose of clarity or for the use of structure? Stuctured programming is good, so's ice cream, but I put a limit to it too. ;-) -- =================================================== James W. Kilgore | Progressive Data Systems, Inc. President | 311 31st Ave SE (206) 848-2567 | Puyallup, Washington 98374 USA qappdsn@ibm.net | http://www.ultimate.org/PDS =================================================== * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 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 MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. 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-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.