|
| >> But if the procedure is written in another language, then those | languages do not have a PI defined so there is no checking until run time. | | All languages have the equivalent of a PI (RPG's *ENTRY PLIST is the same | thing with different syntax) but not all have prototyping - notably CL and | COBOL do not.
C has prototyping? Does the RPGLE compiler validate against the C prototype???
| The real problem with this statement however is "there is no | checking until | run time". Leave out the words "until run time" and the statement is | accurate. i.e. "there is no checking". The reason that prototyping is | valuable is _because_ there is no run time checking of parms.
That's in the C-world. CPF checks number of parms, and programs that pass wrong data types consistently error off. They don't corrupt data, generally speaking.
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.