× 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.



 >> Each time I add a new procedure to the service program, the 
 >> copy book changes and as such I have to recompile all of my
 >> programs that use this. 

Why?  There's no need to recompile because you have added a proto to the
source unless you are using the new subproc or change the interface for one
you do use.  The compiler simply "throws away" any prototypes that are not
used - and those that are used are only used to validate the calls anyway.

 >> ... I feel the best way to go might be to not use copybooks.

Noooooooooooo!!!!!!!! Don't do that.  The only thing that will guarantee is
that programmers will "fix" problems with a call to a subproc by changing
its proto.  Which of course does nothing to fix the problem as the subproc
still expects the defined set of parms.  Then you'll get someone adding
CONST to the copy of the proto in their program when it is not on the PI
etc. etc.

Jon Paris


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.