Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Sahananda (Jon) Wolfers
OK, I have added three trackers. If life ever gets back to normal I will attend to this. Jon 2009/4/1 Rick McGuire object.r...@gmail.com With only one argument, it is correct, but not generally good practice. This would be a good thing to update. Rick 2009/4/1 Sahananda (Jon) Wolfers

Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Rick McGuire
With only one argument, it is correct, but not generally good practice. This would be a good thing to update. Rick 2009/4/1 Sahananda (Jon) Wolfers sahana...@windhorse.biz: Hi, during a long train journey I found over 100 examples in our manuals, oodialog classes and sample code of usage of

Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Gil Barmwater
Jon, Just curious how you were able to locate them all? Any magic or did you just do some sort of brute force search? I'll look at the tracker items and see if I can't help with the fixes. Rick, David and Mark - I have been asked to present ooRexx 4.0 new function at the Symposium and,

Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Rick McGuire
Well, starting with the readme is probably a good jumping off point. That will at least give you a set of specific questions you can then ask about the features. You might want to crib bits of David's API talk from last year, as the new APIs are a major part of what's new. Rick On Wed, Apr 1,

Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Sahananda (Jon) Wolfers
2009/4/1 Gil Barmwater gbarmwa...@alum.rpi.edu Jon, Just curious how you were able to locate them all? Any magic or did you just do some sort of brute force search? As far as the code items went, I have a copy of the SVN on my laptop and used Beyond Compare from www.scootersoftware.com -

[Oorexx-devel] Native API GetScope()

2009-04-01 Thread Mark Miesfeld
One of the methods in the API is GetScope(), which returns a RexxObjectPtr that is the current active method's scope. I'm having trouble figuring out exactly what the scope object is, or really more to the point, what I could do with it. -- Mark Miesfeld

[Oorexx-devel] Maintaining platforms

2009-04-01 Thread Mike Protts
Hi, I'm working on building oorexx 4 (latest svn) on NetBSD (intel alpha) and Solaris (sparc). If nobody else is working on these platforms, I'll rework my quick hacks, so they can be merged cleanly. Just from interest, has anyone had problems with the optimiser? I've had to stick to O0 for

Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Mark Miesfeld
2009/4/1 Sahananda (Jon) Wolfers sahana...@windhorse.biz: 2009/4/1 Gil Barmwater gbarmwa...@alum.rpi.edu Jon, Just curious how you were able to locate them all?  Any magic or did you just do some sort of brute force search? As far as the code items went, I have a copy of the SVN on my

Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Mark Miesfeld
On Wed, Apr 1, 2009 at 6:11 AM, Gil Barmwater gbarmwa...@alum.rpi.edu wrote: Rick, David and Mark - I have been asked to present ooRexx 4.0 new function at the Symposium and, because I think it is important to have an update for those in attendence, have tentatively agreed.  Rather than start

Re: [Oorexx-devel] Maintaining platforms

2009-04-01 Thread Mark Miesfeld
On Wed, Apr 1, 2009 at 5:35 AM, Mike Protts mikepro...@gmail.com wrote: I'm working on building oorexx 4 (latest svn) on NetBSD (intel alpha) and Solaris (sparc).  If nobody else is working on these platforms, I'll rework my quick hacks, so they can be merged cleanly. Mike, I don't think

Re: [Oorexx-devel] Native API GetScope()

2009-04-01 Thread Rick McGuire
The scope is the hierarcy level that defines a given method. For example, ::class foobar ::method foo say hello ::class fubar subclass foobar ::method fu say goodbye The scope of the foo method is the .Foobar class. The scope of the fu method is the fu class. The method scope determines

Re: [Oorexx-devel] Maintaining platforms

2009-04-01 Thread Rick McGuire
Mike, Not sure I can offer any suggestions on the performance problem. There was a performance problem I had to troubleshoot with rexx queues that ended up being a problem with socket communications that was terribly puzzling. I never did figure out the root cause of the problem, but I managed

Re: [Oorexx-devel] Maintaining platforms

2009-04-01 Thread Mike Protts
I don't think anyone is actively working on either of those platforms, clean patches would always be welcome.  grin I'll produce them. My first aim is to get NetBSD alpha (64 bit) working (that's the SDF public access UNIX), and I'm using my intel (32 bit) box as a local testbed. I've also got

Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Gil Barmwater
Interesting! New tool to me but I suppose SlickEdit's reg.exp. search would also work (but I've never actually used it). I have the Ref. manual SVN checked out and updated but will need to checkout the OODialog manual before I can attack the doc. tracker item. Sahananda (Jon) Wolfers wrote:

Re: [Oorexx-devel] Native API GetScope()

2009-04-01 Thread Moritz Hoffmann
Rick McGuire schrieb: The scope is the hierarcy level that defines a given method. For example, ::class foobar ::method foo say hello ::class fubar subclass foobar ::method fu say goodbye The scope of the foo method is the .Foobar class. The scope of the fu method is the fu

[Oorexx-devel] gcvt, etc..

2009-04-01 Thread Mark Miesfeld
Rick, This seems the proper patch to me. (It also seems we have a bug there with removing a trailing decimal.) The test suite runs without errors, but I've only run it on Windows: Index: interpreter/classes/StringClass.cpp === ---

Re: [Oorexx-devel] Native API GetScope()

2009-04-01 Thread Rick McGuire
It *could* be done, but currently *can't* be done. This breaks the encapsulation model for Rexx objects, and so far, I'm not willing to open that up. I did this a little bit with the CSELF capability, but I that's enough of a special case for native code that I was willing to do that. Rick On

Re: [Oorexx-devel] gcvt, etc..

2009-04-01 Thread Rick McGuire
Oops, good catch on the decimal error. Your first fix was the correct one. The trailing null is added when the new string instance is created, so we don't need to pass that. The length form is the correct one. Rick On Wed, Apr 1, 2009 at 1:43 PM, Mark Miesfeld miesf...@gmail.com wrote: Rick,

Re: [Oorexx-devel] Maintaining platforms

2009-04-01 Thread Moritz Hoffmann
Mike Protts schrieb: Hi, I'm working on building oorexx 4 (latest svn) on NetBSD (intel alpha) and Solaris (sparc). If nobody else is working on these platforms, I'll rework my quick hacks, so they can be merged cleanly. Just from interest, has anyone had problems with the optimiser?

Re: [Oorexx-devel] Native API GetScope()

2009-04-01 Thread Moritz Hoffmann
Rick McGuire schrieb: It *could* be done, but currently *can't* be done. This breaks the encapsulation model for Rexx objects, and so far, I'm not willing to open that up. I did this a little bit with the CSELF capability, but I that's enough of a special case for native code that I was

Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Sahananda (Jon) Wolfers
Appologies - I was talking rubbish again. Beyond compare is a wonderful tool and I wouldn't do without it, but what I used to do the regular expression search was filelocator pro (the paid-for big brother of agent ransack) from http://www.mythicsoft.com/ Put it down to old age or overwork! Jon