Re: [Oorexx-devel] A question

2020-07-28 Thread Mike Cowlishaw
Yes .. that was a poor design decision by me.Violates the 'surprise' criterion (as you just demonstrated). Still, I've yet to see a programming language that avoids that as well as Rexx did (especially in 1979 context)! Mike _ From: Ruurd Idenburg [mailto:ru...@idenburg.net]

Re: [Oorexx-devel] A question

2020-07-28 Thread Ruurd Idenburg
I was just curious and I really should have known better, having used rexx since 1979, but still was a bit surprised when gotten hit by it, so now it is: zoom=12;x=13;y=3;loc=zoom'/'||x'/'y'.png' Ruurd On 7/28/20 8:21 PM, Mike Cowlishaw wrote: The same is true for '10001010'b .. a change

Re: [Oorexx-devel] A question

2020-07-28 Thread Mike Cowlishaw
The same is true for '10001010'b .. a change that unexpectedly broke some important applications when we introduced it (e.g., LISTSERV). I'd use a different notation, nowadays, for hex and binary constants (see NetRexx). Sometimes I tried too much to follow the conventions of earlier languages.

Re: [Oorexx-devel] A question

2020-07-28 Thread Rick McGuire
Yes, a literal string followed immediately by the symbol x is considered a hex literal. It's always been that way. Rick On Tue, Jul 28, 2020 at 1:54 PM Ruurd Idenburg wrote: > Is the result below what should be expected: 'something'x taking > precedent over implied concatenation? > > Ruurd > >

[Oorexx-devel] A question

2020-07-28 Thread Ruurd Idenburg
Is the result below what should be expected: 'something'x taking precedent over implied concatenation? Ruurd 'rexx -v' Open Object Rexx Version 5.0.0 r12100 Build date: Jul 21 2020 Addressing mode: 64 Copyright (c) 1995, 2004 IBM Corporation. All rights reserved. Copyright (c) 2005-2020 Rexx