|
Hi Peter Don't get me wrong I use the Program-to-system field all the time to give more meaning to error messages and such, however my own preference is that if something is set in a display file you should be able to find that in the RPG. To me that is more readable, horses for courses I suppose. If we all did the same thing we would be boring and Dutch. ;-) Steve Only joking Nederlanders, honest! :-) -----Oorspronkelijk bericht----- Van: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]Namens Peter.Colpaert@xxxxxxxxx Verzonden: maandag 11 december 2006 13:10 Aan: RPG programming on the AS400 / iSeries Onderwerp: RE: Does anyone use indicators anymore? Steve, We (or rather I) use named indicators that make the program more readable. For instance if the screen field is called "S1PARTNBR", and is conditioned to reverse-image & PC when indicator 40 is on (in case of an error), then position 40 of the INFDS is named something like "err_partnbr". I find this makes reading the program much easier. Peter Colpaert Application Developer PLI - IT - Kontich, Belgium ----- Yoda of Borg are we. Futile is resistance, assimilated will you be. ----- "Raby, Steve" <agnictsr@xxxxxxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 11/12/2006 13:06 Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> cc Subject RE: Does anyone use indicators anymore? But talking about readibility then doesn't that get confusing if you want to do a PC and in the display file it is set using 40 and in the program its called something else?
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.