hi,
how an array that is created in a procedure of a program can be made available(accessable) to whole of that program.i have an array in a procedure of my program,i have to access that array in a call function of the same program,but i couldnt do it.
/rexx/
fun = first
call subprg
first:procedure
fields.i
return
subprg:
field.i
return
Hey anil,
By sub-program what u want to mean? Obviously the sub-program (in ur word) is not lying ur main program (calling program). If it is so, u cannot pass the stem from calling program to called sub-proram directly. But there is other way out! U can make the stem into a string with some seperator! By using this seperator in the called sub program, u will break up the entire string and put it into a new stem. Again when u want to pass this stem back to the main program u have follow the way...