On 10/24/2022 12:09 PM, Erich Steinböck wrote:
> |  Say pointone() /* returns 2 */
> Hi Glenn, as far as I can see this is fixed in 5.0
> Do you have a failing example for 5.0 ?

Nope!  I just didn't have 5.0 on my home machine yet, and I assumed this
was a quirk that someone might have reason to exploit rather than a bug.
 Much less surprising now on 5.0:

.local~1 = 2;say .1 .local~1
.1 2
  ........................................... rexxtry.rex on WindowsNT
.local~1e3=4;say .1e3 .local~1e3
.1E3 4
  ........................................... rexxtry.rex on WindowsNT
.local['1E-3']=5;say .1e-3 .local~1e-3
.1E-3 5
  ........................................... rexxtry.rex on WindowsNT

The last one there was still slightly surprising, with -3 taken as part
of the method name, though it doesn't introduce any inconsistency with
Classic Rexx.  Definitely something to watch out for anytime you put
numbers in a directory:

.local~1e = 12;say .local~1e-3 .local~1e -3
5 9
  ........................................... rexxtry.rex on WindowsNT

¬R




_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to