× 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 Wed, Apr 15, 2009 at 10:21 AM, Bob P. Roche <BRoche@xxxxxxxxxxxxxxxxx> wrote:
I'm not sure you can say there is an advantage, The program will run
either way. The only advantage I know, is you don't have to drop out of
free form to define the *entry parms. I like that they are at the top of
the program since I used to define my *entry parms in the INZSR subroutine
that was at the bottom of my programs, but I could have defined it first
in my 'C' specs, so that's not really an advantage.

Someone replied that you get the prototype checking when called from
another program using a prototype, But if I understand correctly, The
calling program verifies your callp to the prototype, nothing compares
that to the called programs prototype.

If the prototype is defined in a /COPY member and both the calling
program and the called program /COPY in the prototype, then there's
only one prototype and the compiler does indeed check the the PR
matches the PI in the called program.

HTH,
Charles

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.