How to remove all items in an associative array?
Bill Baxter
dnewsgroup at billbaxter.com
Thu Oct 18 00:28:20 PDT 2007
Yang Bo wrote:
> http://www.digitalmars.com/d/statement.html said:
>
> The aggregate must be loop invariant, meaning that elements to the
> aggregate cannot be added or removed from it in the
> NoScopeNonEmptyStatement.
>
> So, how can I remove them?
I don't understand the body, but the answer to the question in the
subject line is AA = null; or AA = AA.init;
http://www.prowiki.org/wiki4d/wiki.cgi?DocComments/Arrays
More information about the Digitalmars-d
mailing list