How to re-initialise an associative array.

Gary Willoughby dev at nomad.so
Fri Nov 8 01:04:27 PST 2013


On Thursday, 7 November 2013 at 15:50:05 UTC, Marco Leise wrote:
> Am Wed, 06 Nov 2013 18:14:54 +0100
> schrieb "Gary Willoughby" <dev at nomad.so>:
>
>> I'm not taking the chance and currently using:
>> 
>> x = (int[string]).init;
>
> x = null; is shorter. Just saying ;)

Does that actually work? I thought you had to assign at least 
some value. I'm gonna test this.


More information about the Digitalmars-d-learn mailing list