[chuck-users] assignment (BUG?)

Kassen signal.automatique at gmail.com
Sun May 31 16:42:45 EDT 2009


Fellow ChucKists,


Either we have a bug or I don't understand assignment (quite possibly both
are the case, I won't rule that out). Consider this;

int foo, bar;

foo @=> bar;

//alternately, this gives the same result
//bar @=> foo;

1 => foo;
<<<"bar is", bar>>>;
<<<"foo is", foo>>>;

I was expecting both to be 1 but here bar is 0 (Linux, miniAudicle modified
to host 1.2.1.2). The following behaves as I expect it to;

int foo, bar;

1 => foo;
foo @=> bar;

1 => foo;
<<<"bar is", bar>>>;
<<<"foo is", foo>>>;

Before I start bothering everyone with my ideas on assignment as it applies
to UGens I'd like to be clear on what assignment does exactly and whether
this is proper behaviour.

Yours,
Kas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20090531/adefbee7/attachment.html>


More information about the chuck-users mailing list