|
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.
This mailing list archive is Copyright 1997-2026 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.