|
>Date: Fri, 22 Mar 2002 09:07:27 -0500
>From: "Nicolay, Paul" <paul_nicolay@merck.com>
>
>Why can't I use the IMPORT keyword in a procedure ?
>
>I use the system() function in a procedure, which I now wanted to extend
>with the Import('_EXCP_MSGDI') statement, but I get a RNF3757 on it ?
Stand
>alone this works fine however.
Paul, names are imported and exported at the module level in ILE. I
confess it never even crossed my mind to allow importing from
outside the module directly into a local variable. Now that I do
think about it, it seems to me that it would be somewhat bizarre
to have a variable whose scope was both local to a subprocedure
and global to the application, but not global to the module.
Barbara Morris
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.