|
Booth Thats not the reason why I wouldn't use left hand indicators, The real reason is in a real production shop where your jumping into a source member to find a problem and you scan for *IN9 to find all the 90's (*IN90 - *IN99) and you won't. I'd cut off the hands of programmers (just kidding,... kinda) who use the SETON or SETOFF instead of MOVE *ON, *OFF for that reason. Left hand indicators. are the same problem( how many 5,0 fields did you find in RPGIII while looking for *IN50?). I have gone as far as to do conditions (*INxx IFEQ *OFF) followed directly by an ENDIF after a chain, etc. just so the NEXT programmer will find the indicator while scanning. John P. Carr EdgeTech Booth wrote; >Because using conditioning indicators on the left isn't politically correct >these days, so it's 'chic' to code three lines of code where one would do. >It's all part of a secret plot to make RPG more 'wordy' - I believe the >ringleaders are closet COBOL programmers ! ;-) >> boothm@earth.goddard.edu wrote: >> Why does: >> 90 LEAVE >> lack full clarity? >> >>> John Carr <74711.77@CompuServe.COM> said: >>> >>> # *IN90 IFEQ *ON >>> # LEAVE >>> # ENDIF > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 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.