× 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.



 >> Wouldn't an exported constant Variable have other attributes such as
type, length, etc?

Unless I'm mismembering, exported variables don't really have any attributes
other than a name.  It is up to the programmer to make sure the storage is
mapped in the same way in the importer as it was in the exporter.

According to the ILE Concepts manual, the length of strong exports has to be
known at compile time.  However, although RPG uses the strong export model,
I see no evidence that length has any effect.  A test module that exported a
30 character field was successfully imported into other modules as both a 20
and as a 40 character field with no problems.

It seems likely that exports like parms are "just a pointer" with no other
special attributes.

Jon Paris
Partner400
www.Partner400.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.