extending array macro language: array[] = expr

Tony Balinski ajbj at free.fr
Thu Apr 10 22:59:39 CEST 2008


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?

Tony


More information about the Develop mailing list