static array length

Saaa empty at needmail.com
Tue Jan 29 23:09:51 PST 2008


Isn't it possible to make the .length variable for static arrays.
Its ofcourse an error to make it longer than the original size (extra 
property?)

char[100] c;
c[0..4]='1234`;

and maybe this:
c=`1234`; // implicit length adjustment.

Or would this break something? 




More information about the Digitalmars-d-learn mailing list