|
Normally, it should be transparent, but due to the way the various
compilers handle some data types, some parameters passed by value would
be treated by the system as truly by-value, and some would be treated in
the sort-of-by-reference way. If you are mixing languages, be sure to
specify EXTPROC(*CWIDEN) or *CNOWIDEN or *CL, to ensure that the RPG
compiler will handle those data types the same way as the other
language. (You can code that EXTPROC whether your RPG programs are
calling a procedure written in the language procedure, or whether your
RPG procedures are being called by programs in the other language.)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.