|
Have you started working with prototypes yet? That is a perfect place to keep many different code snippets in one place and only pull in the one you want with the compiler directives. I have hundreds in one source member called PROTOTYPES (original, huh?). You don't have to search around a lot to find what you want. It also makes a very nice "dictionary" of prototypes, although I would like to have something a little more automatic. As to retrofitting old code, whatever works..... Also, did you see Barbara's note about the new /Include directive? ----- Original Message ----- From: "James W. Kilgore" <qappdsn@attglobal.net> To: <RPG400-L@midrange.com> Sent: Wednesday, May 10, 2000 12:40 PM Subject: Re: RPT vs RPG > Jon, > > Yes, we checked out the compile directives. The point is that with either option > you -must- make manual changes to every program source member. > > IMHO, it is cleaner to have a /COPY member which only has what you want, where you > want it. > > Jon.Paris@hal.it wrote: > > > >> Since RPGLE is the way to go, we created two /COPY members, one with ..... > > > > You can still keep a single source member and use conditional compilation > > directives to ensure that the appropriate pieces go into the right places. You > > still need two /COPY statements but you only have a single source member. > > > > +--- > | This is the RPG/400 Mailing List! > | To submit a new message, send your mail to RPG400-L@midrange.com. > | To subscribe to this list send email to RPG400-L-SUB@midrange.com. > | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: david@midrange.com > +--- > +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-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.