[chuck-users] assignment (BUG?)

Hans Aberg haberg at math.su.se
Sun May 31 17:32:16 EDT 2009

On 31 May 2009, at 23:11, Robert Poor wrote:

> I'm not the expert, but I thought that the ChucK rules for  
> assignment are:
> [1] For "reference" data types, (arrays and objects), @=> assigns  
> the pointer, not the data.
> [2] For "immediate" data types (ints, float), => and @=> are  
> identical: they move the data, not the pointer.
> Any disagreements?

I just intended say the same thing, but you were faster :-).

Only that I would call the first a reference type, and the second a  
data type. And I think => is illegal on reference types.


More information about the chuck-users mailing list