How i can clear Associative Arrays

Nicolas Guillemot nlguillemot at gmail.com
Sat Apr 13 02:24:36 PDT 2013


> values = null;
>
> and it seems it works great. But, i don't know how correct is 
> this... I was expecting to have a clear() method on array.

Makes sense to me! Looks like the technique you described is 
explained here: http://ddili.org/ders/d.en/null_is.html

Good find, thanks for sharing!


More information about the Digitalmars-d-learn mailing list