[Oorexx-devel] Required string values

2009-09-06 Thread Jean-Louis Faucher
I'm curious to know why different rules apply for arguments to methods (rexxref p 104) In case of method call, why the string message is not sent when request(string) returns .nil ? d = .directory~new say(d) -- a Directory .stdout~say(d) -- error argument 1 must have a string value This works

[Oorexx-devel] trace : how to step into a method ?

2009-09-06 Thread Jean-Louis Faucher
trace ?i ...some intermediate code r=myobj~mymeth When I see that a result is wrong, I can rexecute the previous statement with = but how can I step into the called method ? I could stop the debug, put trace ?i inside the called method and restart the debug, but is there a more direct technique

Re: [Oorexx-devel] trace : how to step into a method ?

2009-09-06 Thread Rick McGuire
There's no step into debugging methodadding a trace statement is your only option. Note that you can also use the new ::OPTIONS directives to set the default trace setting for any entire source file. Rick On Sun, Sep 6, 2009 at 12:04 PM, Jean-Louis Faucherjfaucher...@gmail.com wrote: trace

[Oorexx-devel] Unguarded methods question

2009-09-06 Thread Mark Miesfeld
Questions, questions, seems to be a bunch of them lately. grin If you have an unguarded method, that then invokes another method in the same object, does that other method also need to be unguarded? Seems to me like it would be, but I'm not sure ... ::method handleThisStuff private ::method

Re: [Oorexx-devel] Unguarded methods question

2009-09-06 Thread Rick McGuire
Yes, each method manages its own locks on the scope variable pool. If you want unguarded behavior all the way out, then all of the methods need to be unguarded. Rick On Sun, Sep 6, 2009 at 2:27 PM, Mark Miesfeldmiesf...@gmail.com wrote: Questions, questions, seems to be a bunch of them lately.