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



Evan

I guess I would not. Return values via commands are more like input/output
variables. For me, a return value is independent of the parameters passed.

Since variables are passed by reference in CL, you've always been able to
pass back a changed value in a call, IIRC.

And again, I think I'm in error again. What I was referring to is the
return variable you can specify on the CALLPRC command. In other words,
CALLPRC can assign a return code to a CL variable. I guess this does not
mean you can return, independently, a value from a CL anything.

That's what I get for making a knee-jerk reaction.

:-(

Vern

At 07:53 AM 9/2/02 +1200, you wrote:
Vern

As a matter of interest would you count using a command with a return value
as a CL program returning a value ? :)

Regards
Evan Harris

In another post I stated that you can't get return values from CL programs.
That's not exactly true. You _can_ get a return value from an ILE CL
procedure. You cannot get one from an OPM CL program, or even an ILE program.

Vern
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


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.