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



Booth Martin wrote:
Lets say, for discussion, that there were three procedures, totally
unrelated, but that all three are used in many many programs.  For example:

1)Look up customer name and address info
2)check quantity on hand of an item
3)validate a credit card number

When I write a program and retrieve these with a /copy, should I have one
/copy or three /copy statements?

I would use three since (as you said) they are unrelated. You will certainly in the future have more functions (subprocedures) that are related to these three. Those you could group as customer info, inventory, and financial. You would have three /copy members for each of these groups. Put related things together in one /copy member and leave unrelated things seperate. How you determine what is and isn't related is up to you.


James Rich


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.