|
On Thu, 13 Apr 2006, Sarvapriya_Tripathi@xxxxxxxxx wrote: [SNIP]
d mod10 pr 10i 0 ExtProc('MOD10') d string 100a const varying
[SNIP] Nice code. I have two suggestions, however:a) The "ExtProc" is unnecesary in this case, since it's the same name as the prototype.
b) Instead of coding the prototype twice, code it once in a /COPY book and just use the one definition. This helps ensure that the prototypes are always the same, protecting you against parameter errors. It also makes it easier to use your routine since you don't have to re-code the prototype every time you call it.
As an Amazon Associate we earn from qualifying purchases.
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.