[chuck-users] array declaration bug

eduard aylon eduard.aylon at gmail.com
Tue Nov 11 21:21:08 EST 2008

Hi tom,

thanks for your reply. As I reported this bug, it came back  to my  
head that it may be me who reported this bug some time ago... if I'm  
not mistaken. However, somehow, I felt this was already solved. IMHO  
this should be highest priority, as it is common to declare a few  
variables in one row, and find out that it is forbidden in chuck is  

thanks for pointing me to the wiki,


On Nov 11, 2008, at 3:33 PM, Tom Lieber wrote:

> On Tue, Nov 11, 2008 at 6:07 AM, eduard aylon  
> <eduard.aylon at gmail.com> wrote:
>> I found out that declaring arrays in this way:
>> float a[], b[];
>> is buggy, as it seems the type for b[] is not taken as float. Maybe
>> something else happens here (maybe passing by ref), I haven't check
>> thoroughly (don't know if it happens with other types as well).
> There are a few related bugs listed on the wiki. A workaround is to
> declare them separately.
>  http://wiki.cs.princeton.edu/index.php/ChucK/Bugs
> -- 
> Tom Lieber
> http://AllTom.com/
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

More information about the chuck-users mailing list