www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - should this work?

Hi,

uint c[5] = [
	0,
	1,
	2,
	3,
	4
];

c = c.init     // causes assert on compile
c[] = c[].init // array length doesn't match runtime error

or some other permutation?

How do you re-initialize an array?

Regan

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Jun 22 2004