Home | OS/2 Software | Rexx | Passing variables between routines using RXU library (Beginning level)

Passing variables between routines using RXU library (Beginning level)

Contributed by: Doug Rickman, Global Hydrology and Climate Center, MSFC, NASA

This is aimed at beginning REXX users.

RXU.dll allows one to pass multiple variables between routines.


 

 


/*****************************************************************************/
/***************  Using RXU to pass variable pools             ***************/
To call a routine and pass a set a variables -
rc=rxpassbyname('srplanck.cmd', 'in out Tmin Tmax DeltaT speak write')

To return a set of variables back to the calling routine -
rc=rxreturnbyname('Irradiance. Tindex')
return 1