Re: Rob: Q: Re: Major Bug in Interpreter [Attn: Robert Craig]

new topic     » goto parent     » topic index » view thread      » older message » newer message

Robert Craig wrote:

> Pete E wrote:
>> So how about for the cases where the $ operator is not used, revert to
>> the previous method of subscripting (as in 2.4) so that programs that
>> require backwards compatibility will not break?
>>
>> If the subscripting does use $, then use the efficient method that
>> refcounts (protects) the LHS variable.  We don't care about backwards
>> compatibility in this case, since the $ operator is new to version 2.5.
>
> That would assist in getting over the current
> compatibility glitch, but what happens when someone in the future
> changes from using length() to using $ or vice versa, and
> mysteriously the order of expression evaluation changes?

That would be a nightmare. Using the same version of the interpreter/
compiler, a program IMHO should run exactly the same way, regardless
whether length() or $ is used.

<snip>

Regards,
   Juergen

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu