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



Hi Nathan,

I agree... but I don't decide what the system() function exports, or accepts
as a parameter.

Kind regards,
Paul

-----Original Message-----
From: Nathan M. Andelin [mailto:nandelin@relational-data.com]
Sent: 25 March, 2002 16:32
To: rpg400-l@midrange.com
Subject: Re: Import in procedure ?


> From: "Nicolay, Paul"
> I now corrected the Import (moved it to module level)
> and it works fine, however I don't see the point of doing
> an Import on a variable which only has a meaning within
> a certain procedure at module level ?

If the variable only has meaning within a procedure, then why do an import?
Why not just use procedure parameters?

I just think of import / export as a simple means of defining shared memory
between modules.  It's a convenient way to share memory between a program
and a service program, for example.

Nathan M. Andelin
www.relational-data.com


_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, contains 
information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may 
be confidential, proprietary copyrighted and/or legally privileged, and is 
intended solely for the use of the individual or entity named on this message.  
If you are not the intended recipient, and have received this message in error, 
please immediately return this by e-mail and then delete it.

==============================================================================



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.