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



Vern,

I'm not concerned with the *called* program - my concern is whether passing
a parameter to a program that's not expecting will cause a problem for the *
calling* program.

Simplest case - I define a program with no parameters. I then call it
passing a single parameter. What happens? Is the program called
successfully? Is it even aware that a parameter was passed to it? Will there
be any negative effects in the calling program?

Rory

On Mon, Jan 12, 2009 at 2:00 PM, Vern Hamberg <vhamberg@xxxxxxxxxxx> wrote:

In RPG IV, if you want the parameter to be optional, put the *NOPASS
option on it. All parameters from that point have to be optional.

HTH
Vern

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.