Dear Glenn,

I do not get the same results as you, not on Windows and not on macOS, I get 
The NIL object rather than „5“. Are you still referring to ooRexx 5.0.0?

macOS:
po@POs-16-Core-Pro ~ % rexx -e ".local~1e = 12;say .local~1e-3 .local~1e -3"
The NIL object 9
po@POs-16-Core-Pro ~ % 

Windows 10, 64 bit, current build of ooRexx5.0.0:
C:\Users\po\workspace>rexx -e ".local~1e = 12;say .local~1e-3 .local~1e -3"
The NIL object 9

  rexxtry.rex:  Enter 'exit' to end.       Or '?' for online REXX help.
.local~1e = 12;say .local~1e-3 .local~1e -3
The NIL object 9
  ........................................... rexxtry.rex on WindowsNT

.local~1e -3 comes out as 12-3 = 9 as expected, what do you think .local~1e-3 
mean?  It looks as the item 3 steps before 1e to me (which is not defined) 
Maybe someone can explain what is going on here?

Hälsningar/Regards/Grüsse,
P.O. Jonsson
oor...@jonases.se




> Am 24.10.2022 um 20:33 schrieb Glenn Knickerbocker <n...@bestweb.net>:
> 
> 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

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

Reply via email to