Jeff, I need an advice: how can I read/write Reginald Stem string variables.
I don't have Problems with Numeric Stems, using
rc=MAX(rc,FUNCDEF('REXXSTEM','32,32[10] dual',envdir||dll,'REXXSTEM'))
in my DLL I receive the address of the stem data and loop through the instances by adding 4 bytes to the address.
But I can't get the string version working:
rc=MAX(rc,FUNCDEF('REXXSTEMS','32,str[10] dual',envdir||dll,'REXXSTEMS'))
I can't really find out what format the data have, which I receive. Is it a lump of date containing all strings seperated by X'00' , or do I get 10 addresses refering to strings, or is there a completly other method.
Your advise is appreciated!
Peter
PS: I got the call back function from a DLL to my script working, it's amazing and very useful!
rexxback='32, str'
rc=MAX(rc,FUNCDEF('VLIST', '32, func rexxback ,', envdir||dll,'VLIST'))
...
SAY "Now Vlist it"
vlist('mySay')
EXIT
mysay:
SAY "from DLL" ARG(1)
RETURN 0
|