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



Rory Hewitt wrote:
Scott,

I have to agree with you - I've never liked coding DEFINEs in my program
source - I like to be able to simply code COPYs. Plus, I like the fact that
if you have a separate prototype copybook, you can include lots of comments
about *how* the procedure should be called, possible return values etc.,
whilst leaving the actual procedure code as a black-box. This is especially
true for shipped software.
If you are distributing callable black box APIs, there's no question that separate copy members is the way to go. I don't work that way, and I prefer to have the code in one place, so I use the DEFINE method. Only one member to open, only one place to make changes. Although WDSC makes it easier, having to open and edit two different source members just to make a change in a protoype is cumbersome to me. Of course, that's just my opinion. And it doesn't do you any good for CL, because there's no parallel approach.

So, I suspect I'm in the minority and that my particular preference is probably not the correct one for most folks.

Joe

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.