rouaix@inria.inria.fr (Francois Rouaix) (01/04/90)
Hi there,
Once again I will need some help with the design of an AREXX library.
My question is simple:
is it allowed to use the RVI functions (GetRexxVar and SetRexxVar)
from inside an arexx external library ?
I need that to implement something like
success = GetSomeResource('handle',parameter,...)
result = UseTheResource('handle')
call ReleaseResource('handle')
where these functions are in the library, but need a pointer surviving
different calls (somewhat like the Open/Close/Read functions of AREXX).
This pointer would be stored in the variable 'handle' here.
(I don't want the solution where one would write
handle = GetSomeResource(parameter,...)
etc...
and also need passing a stem variable name elsewhere
)
The guru visits AREXX when the call to the library returns (so sez the
wedge). Looks like the environment get trashed.
The RVI documentation mentions only command hosts/functions hosts,
but not libraries...
Auxiliary questions: would a LockRexxBase() help ?
Ever tried debugging a library interfacing a library to another
library ?
Thanx for your help.
--Francois
--
*- Francois Rouaix // We are all prisoners here, *
*- rouaix@inria.inria.fr \X/ of our own device *
*- SYSOP of Sgt. Flam's Lonely Amigas Club. (33) (1) 39-55-84-59 (Videotex) *
Disclaimer: Opinions expressed are my own, not those of my employer.