|
I've use /if defined extensively, and combine both the prototype and procedure (when we copied procedures inline) into a single source member. Unfortunately, I got bitten by the SQL precompiler when using embedded SQL and prototypes/procedures. Loyd -----Original Message----- From: Smith, Nelson [mailto:NSmith@lincare.com] Sent: Wednesday, September 12, 2001 2:02 PM To: 'midrange-l@midrange.com' Subject: RE: Wrapping API in service program <snip> We also put all the prototypes in a single source member and use the "IF Defined" compiler directive so that only requested prototypes are copied into the actual programs that need to use them. The prototypes source member itself, then becomes the universal list of all publicly-available procedures. </snip>
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.