June 23, 2004 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/
|
Copyright © 1999-2021 by the D Language Foundation