[chuck-users] float and float[]
Kassen
signal.automatique at gmail.com
Sat Nov 11 15:23:34 EST 2006
Hi, list,
I find ChucK's reaction to the following lines rather surprising.
//this works, obviously
1.0 => float foo;
//this is fine with chuck as well
1 => float bar;
//this works as well, also obviously
[1.0] @=> float fooray[];
//then why does this cause a error?
[1] @=> float barray[];
Is this intentional and if so could we considder a more readable error?
Right now this last line gives a error that looks (to me) like the
dimentions of a multi-dimentional array don't add up which is a bit
confusing
Yours,
Kas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20061111/f186614f/attachment.htm
More information about the chuck-users
mailing list