On Sun, Feb 19, 2012 at 8:48 AM, Rony G. Flatscher <[email protected]> wrote: > After having implemented and successfully tested the RXSIO, RXNOVAL and > RXVALUE exits (i.e. exit handlers in Java process the exits), I turned to > RXINI and RXTER, which has been very interesting as it allows one to get > some "feeling" about how much is actually going on in the ooRexx > interpreter. :) > > A few questions from the observations: > > I noticed that in RXINI one can set context variables, but getting them in > the same RXINI routine returns the variables as NULL, not reflecting that > immediately before a SetContextVariable() was carried out (successfully as > it turns out later in the Rexx code)?
Provide a test case to recreate this, and I'll take a look at it. > > Just wanted to ask (to make sure) that this is by design and not a glitch > (for which I would otherwise file a bug report). > > RXINI and RXTER run not only for the executed Rexx program, but also for > runtime invocations of routines? > > If so, can one somehow programmatically find out for which routine, > procedure they run? GetCallerContext() will return thr context object. From that, you can access the package object and find out everythimg you need. > > This might allow one to set up timings, by placing a DateTime object in > RXINI and calculating the spent time in RXTER, short of other profiling. > > Would it make sense at all to allow for RXINI/RXTER exits for method code, > which could then also benefit from the ability to become able to set context > variable at RXINI and/or fetch context variables at RXTER? > absolutely not. Those exits have a very restricted usage intentionally. Your program execution would grind to a halt if every method invocation resulted in an exit call. > TIA, > > ---rony > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Oorexx-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
