extending array macro language: array[] = expr
Bert Wesarg
bert.wesarg at googlemail.com
Thu Apr 10 23:01:40 CEST 2008
On Thu, Apr 10, 2008 at 10:59 PM, Tony Balinski <ajbj at free.fr> wrote:
> Quoting Bert Wesarg <bert.wesarg at googlemail.com>:
>
>
> > And what do you expect here:
> >
> > arr[3] = 0
> > arr[4] = 1
> > arr["key0"] = 2
> > arr["key1"] = 3
> >
> > arr[] = 999 would than overwrite arr[4], or what?
> No: syntax error ;) Your idea would assign to arr[5], wouldn't it?
Right, it would always assign to an non-assigned index.
Bert
>
>
>
> Tony
More information about the Develop
mailing list