Re: Another small V8.0 bug [message #71931 is a reply to message #71886] |
Wed, 28 July 2010 14:53   |
JDS
Messages: 94 Registered: March 2009
|
Member |
|
|
On Jul 26, 2:15 pm, wlandsman <wlands...@gmail.com> wrote:
> On Jul 26, 1:59 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
>
>> Do you mean that this does not happen every time? To me this seems to
>> be the expected behavior. The line
>
>> print,list(0)
>
>> Is creating a list (which is an object), containing one element, and
>> printing it. The same with the use of help.
>
> OK, I did not know that list() was a new intrinsic function,
> thanks. But since "list" is my most used variable name, V8.0 is not
> backwards compatibile.
>
> On the other hand, since I was a strong supporter of abandoning
> support for indexing with round parentheses, I shouldn't complain too
> much. But I suspect that this will be a recurring backwards
> compatibilty problem.
Haven't managed to download 8 yet, but people should also be aware of
the increased potential for namespace conflict (and parentheses
indexing variable/function confusion) arising from the new syntax for
object instantiation. I.e. if you have any functions (or
parenthetically indexed variable in the same scope) of the same name
as an object class, you will get new conflicts. This "list" is just
an example of that.
JD
|
|
|