×
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.
is there an option to enforce prototypes for exported procedures on 7.1+?
At the weekend it happened that I had to figure out a parameter mismatch between the caller and the callee. It turned out that the copy book with the procedure prototype had not been included into the module that contains the procedure and that there was a parameter mismatch between the prototype and the procedure interface. I have never seen that since the days when procedures and prototypes had been introduced to RPG. But now, since 7.1, there is no need for prototyping procedures any longer and now such things can, actually will, happen.
At a first glance it is great that we do not need to prototype local procedures any longer. But for exported procedures it was better if the compiler would require a prototype. Otherwise we lose the benefit of validated procedures interfaces.
Thomas.
--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender.
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.