assoc array initialization like in php

Chris Sauls ibisbasenji at gmail.com
Mon Feb 20 05:55:10 PST 2006


Anders F Björklund wrote:
> Choosing a syntax would be a good thing, though ?
> 
> maybe:
>   int test[char[]] = [ "test": 1, "bla": 2, "blub": 3 ];

I vote for this one.  It is consistant with struct initializers, and just pleases me eyes.

-- Chris Nicholson-Sauls



More information about the Digitalmars-d mailing list