www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - What's whong?

reply KUV <KUV_member pathlink.com> writes:
I wrote as in sample:
int[char[]] b;
b["hello"] = 3;
b.remove("hello");

And got:
***.d(20): undefined identifier remove
***.d(20): function expected before (), not remove of type int
Jun 12 2005
parent zwang <nehzgnaw gmail.com> writes:
KUV wrote:
 I wrote as in sample:
 int[char[]] b;
 b["hello"] = 3;
 b.remove("hello");
 
 And got:
 ***.d(20): undefined identifier remove
 ***.d(20): function expected before (), not remove of type int
 
 
 
 
I can't reproduce the bug with dmd 0.126.
Jun 12 2005