On Thu, 19 Nov 2009 09:16:16 -0500, A Bothe <[email protected]>
wrote:
Hey guys,
I've found a problem that occurred since DMD 2.034:
When I've created a dynamic array like
string[] a;
and I want to assign something via the index of this array
a[0]="Test";
DMD says the array isn't mutable...even if these are normal types like
int or char.
Does anybody knows how to solve this problem?
Thank in advance
Does a still have length 0. You may be getting an array out of bounds
error with a weird error message.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/