Re: Another small V8.0 bug [message #71884 is a reply to message #71883] |
Mon, 26 July 2010 11:24   |
penteado
Messages: 866 Registered: February 2018
|
Senior Member Administrator |
|
|
On Jul 26, 3: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.
Yes, that sort of problem was always possible whenever a new intrinsic
function is introduced. Or when one installs some new third-party
library, or just some function from someone who does not try to make
the routine names more likely to be unique. But it is not a new issue,
it has always been a consequence of the () ambiguity.
In this particular case (of list), it also compromises use of Ron
Kneusel's HOF library, which depended on a DLM that also had a
function called list() (http://www.ittvis.com/info/hof).
|
|
|