error in D website demo

Moritz Warning moritzwarning at _nospam_web.de
Wed Feb 6 14:45:43 PST 2008


On Wed, 06 Feb 2008 08:29:22 +0100, Saaa wrote:

> char[] str;
> char[] str1 = "abc";
> str[0] = 'b';        // error, "abc" is read only, may crashAs said a
> few posts below, this one is wrong as well (as far as I know)

Where do you saw this?



More information about the Digitalmars-d mailing list