View previous topic :: View next topic
|
Author |
Message |
Ludovic Janssens
New User
Joined: 08 Oct 2007 Posts: 2 Location: Belgium
|
|
|
|
Hello there,
I am learning REXX and I read about calling subroutines in compiled languages, but I did not encounter any information on calling external subroutines written in REXX. Can anyone provide some explanations and a small example? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
Back to top |
|
|
Ludovic Janssens
New User
Joined: 08 Oct 2007 Posts: 2 Location: Belgium
|
|
|
|
Thank you both!
Apparently, I have been looking in the wrong manuals... Neither the REXX reference manual nor the REXX user guide gave clear information on it.
The only issue remaining is that I would like to pass the values of a stem from a main script to a subroutine. Maybe it is not done given the amount of data to pass and the limits of REXX (20 arguments)? Please advise. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
the only issue with rexx external things is that in a native
environment the parameter passing options are very limited
no expose function
You can have collateral effects but as far as returning things
the only thing that You can return is the Return_code
( which can be numeric, but also a string )
On the other hand running in an ISPF environment You can
exchange back and forth lots of data using the VGET/VPUT mechanism |
|
Back to top |
|
|
|