[Nickle] Nickle bug/misfeature: storage for growable arrays of
growable arrays
Keith Packard
keithp at keithp.com
Sat Jan 15 17:19:17 PST 2005
Ok, so presumably:
int[...] x = { 0 ... };
means to set the default array value to 0 and to initially create the
array with zero elements. That seems straightforward. So, what does:
int[...,...] x = { { 0, 1 ... }, { 2, 3 ... } ... };
mean? Now the array has an ambiguous default value. I guess the default
value must occur as a bare value in the outermost array initializer? Like:
int[...,...] x = { { 0, 1 }, { 2, 3 }, 4 ... };
Does that look right?
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : /pipermail/nickle/attachments/20050115/54e8a45c/attachment.pgp
More information about the Nickle
mailing list