associative arrays

Manfred Nowak svv1999 at hotmail.com
Sat Jan 7 15:14:45 PST 2012


RenatoL wrote:
> Would not it be better if an exception was raised?
No, because exceptions are guarenteed to be slow.

> if i write:   writeln(arr1["xxx"]);
> runtime expresses its disappointment...
I would be disappointed too, if the commands for removing and for 
requesting something are sequenced in that order.

-manfred


More information about the Digitalmars-d-learn mailing list