assoc array initialization like in php

nick nick.atamas at gmail.com
Mon Feb 20 13:46:36 PST 2006


> PS.
> For now, you need to use explicit initializers instead:
>   int test[char[]];
>   test["test"] = 1;
>   test["bla"] = 2;
>   test["blub"] = 3;

You know, this syntax looks almost as good as the proposed ones. Perhaps
no change in necessary.



More information about the Digitalmars-d mailing list