× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 2011/6/30 9:55 AM, Morgan, Paul wrote:

How about putting the PI in the /copy wrapped around a /IF
DEFINED(program) compiler directive. Then the called program
includes /DEFINE program so it doesn't have to list the PI in the
program. Callers don't need any /DEFINE. If the interface ever
changes the source code to be changed is all in the /copy.

Paul, that wouldn't be so handy while you were writing the procedure. I wouldn't want to have to look in a /copy file to see what my parameters were while I was working on the procedure.

There are conditional compile tricks that let you put the prototypes at the top of the source member containing the procedures. They are cool, but I think it clutters up the source member too much, and I'm happier keeping prototypes in /copy files.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.