Re: [Oorexx-devel] USE ARG default values with references.

2018-04-16 Thread Mike Cowlishaw
carat has some compatibility problems with other Rexx interpreters that interpreted the carat as a logical not. I'd prefer to stay away from that. In any event, I just committed the changes to use '>' rather than '&'. :-))) Many thanks. Mike

Re: [Oorexx-devel] Ad multiple assignments idea (Re: Discussion: Adding variable references to ooRexx.

2018-04-16 Thread Rick McGuire
This raises all sorts of issues as to what is getting returned, how to handle mismatches in assignment values and the fact that any errors can only get detected at the point of return. I don't really see this as being a very clean change. Rick On Mon, Apr 16, 2018 at 10:10 AM, Rony G. Flatscher

Re: [Oorexx-devel] USE ARG default values with references.

2018-04-16 Thread Rick McGuire
On Mon, Apr 16, 2018 at 9:54 AM, Rony G. Flatscher wrote: > On 16.04.2018 14:08, Rick McGuire wrote: > > > On Mon, Apr 16, 2018 at 8:04 AM, Mike Cowlishaw > wrote: > >> >> >> One other point I should probably make related to this is that the >>

Re: [Oorexx-devel] USE ARG default values with references.

2018-04-16 Thread Erich Steinböck
> > One other point I should probably make related to this is that the > referencing operator (currently spelled "&") > Can this maybe done with existing ooRexx syntax? Like `call routine alpha, .Reference~new(beta), gamma` and a simple `use a, b, c` Alternatives to `.Reference~new()` might be

Re: [Oorexx-devel] USE ARG default values with references.

2018-04-16 Thread Rony G. Flatscher
On 16.04.2018 14:08, Rick McGuire wrote: > > On Mon, Apr 16, 2018 at 8:04 AM, Mike Cowlishaw > > wrote: > >   > > One other point I should probably make related to this is that the > referencing operator > (currently

[Oorexx-devel] Ad multiple assignments idea (Re: Discussion: Adding variable references to ooRexx.

2018-04-16 Thread Rony G. Flatscher
On 13.04.2018 09:48, Erich Steinböck wrote: > > This will generally be used in a few selective place, such as situations > where you wish to > return multiple values back from a call or method > > > A neat way to return multiple values might be a syntax like this: > >     r1, r2, .. =

Re: [Oorexx-devel] USE ARG default values with references.

2018-04-16 Thread Rony G. Flatscher
On 16.04.2018 16:21, Rick McGuire wrote: > > > On Mon, Apr 16, 2018 at 9:54 AM, Rony G. Flatscher > wrote: > > On 16.04.2018 14:08, Rick McGuire wrote: >> >> On Mon, Apr 16, 2018 at 8:04 AM, Mike Cowlishaw >

Re: [Oorexx-devel] Address With progress

2018-04-16 Thread Rick McGuire
Yep, it probably should. I'll take a look at it. Rick On Mon, Apr 16, 2018 at 10:04 AM, Erich Steinböck < erich.steinbo...@gmail.com> wrote: > Should this print "line" twice? It currently prints two null strings. > > ~~~ > stem. = "line" > stem.0 = 2 > address "" "cat" with input using ( stem.

Re: [Oorexx-devel] USE ARG default values with references.

2018-04-16 Thread Mike Cowlishaw
One other point I should probably make related to this is that the referencing operator (currently spelled "&") ... I trust that spelling is still considered an open issue. :-) I'm warming to using '>' on both sides .. at least it implies some sort of movement/look elsewhere. My