In expression for array

Michiel Helvensteijn nomail at please.com
Fri Jan 25 05:15:48 PST 2008


Janice Caron wrote:

>> So the in-operator should look for an
>> item, not a key
> 
> Except that aa[key] will crash if key is not in aa, so you /really/
> want to be able to test for the presence of a key in an AA.

Of course! Just not with the in-operator.

-- 
Michiel




More information about the Digitalmars-d mailing list