Re: [Oorexx-devel] Variable Reference APIs

2019-02-03 Thread Rick McGuire
On Sun, Feb 3, 2019 at 5:52 AM Erich Steinböck wrote: > The API returns references to the object variable in the currently active >> object, which in this case is the tester object instance >> > Well, of course . .thanks > > I've got further questions: > oorexxapi.h has a #define REXX_VALUE_RexxV

Re: [Oorexx-devel] Variable Reference APIs

2019-02-03 Thread Rick McGuire
On Sun, Feb 3, 2019 at 7:07 AM Erich Steinböck wrote: > Trace shows the variable reference operator as "&" (as it was initially > proposed) > Should this now be changed to ">", resp. "<" ? > > Yes, missed that change when we finally resolved what character is used. > Do we really want to have

Re: [Oorexx-devel] Variable Reference APIs

2019-02-03 Thread Erich Steinböck
Trace shows the variable reference operator as "&" (as it was initially proposed) Should this now be changed to ">", resp. "<" ? Do we really want to have both "<" and ">" as reference operators? I'd vote for reducing this back to only one. I like ">A" as "points-to A" ~~~ 1 *-* a = >b >O>

Re: [Oorexx-devel] Variable Reference APIs

2019-02-03 Thread Erich Steinböck
> > The API returns references to the object variable in the currently active > object, which in this case is the tester object instance > Well, of course . .thanks I've got further questions: oorexxapi.h has a #define REXX_VALUE_RexxVariableReferenceObject, and NativeActivation seems to have supp

Re: [Oorexx-devel] Variable Reference APIs

2019-02-02 Thread Rick McGuire
The problem is you are setting the variables in the wrong object. The API returns references to the object variable in the currently active object, which in this case is the tester object instance. I suggest adding a couple of attributes to the MethodTester class that will give you variables you ca

Re: [Oorexx-devel] Variable Reference APIs

2019-02-02 Thread Erich Steinböck
> > as soon as the build completes > Is building slow on Windows? If you're building with nmake, you might consider using jom, which builds multi-core. See https://sourceforge.net/p/oorexx/wiki/how-to-build-oorexx/#multi-core-builds . we might need a GetContextVariableReference() API on the call a

Re: [Oorexx-devel] Variable Reference APIs

2019-02-02 Thread Rick McGuire
On Sat, Feb 2, 2019 at 9:42 AM Erich Steinböck wrote: > We have five native Variable Reference APIs. Three of them are available > in all the usual contexts: Thread/MethodCall/Exit > IsVariableReference, VariableReferenceName, VariableReferenceValue > > But two of them are restricted to one conte