<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Kassen, all</div><div><br></div><div>I really think the problem is simple. (Sorry if I missunderstand part of the discussion but is complicated to me understand some English styles).</div><div>We have values and referencies. An in ChucK we have one assignment operator for values and other for referencies.</div><div>In ChucK is not possible to create references to primitive tipes.</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Monaco; "><span style="color: #0000ff">int</span> @i;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Monaco; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Monaco; ">[Untitled]:line(1): cannot declare references (@) of primitive type 'int'...</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Monaco; ">[Untitled]:line(1): ...(primitive types: 'int', 'float', 'time', 'dur')</div></div></div><div><br></div><div>The problem here (i think) is that the reference assignment operator acts like a value assignement operator too.</div><div>Different is the case when the assignment opertor acts over objects (being UGens) that is the ChucK operator.</div><div>We have one "massive overloaded chuck operator" and a reference assignement operator that haven't defined it behavior on primitive values.</div><div><br></div><div>greetings</div><div>Lucas</div><div><br></div><br><div><div>El 01/06/2009, a las 10:21, Kassen escribió:</div><br class="Apple-interchange-newline"><blockquote type="cite">Lucas;<span dir="ltr"></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div><font size="1" face="-webkit-monospace"><span style="font-size: 16px;">Hi</span></font></div> <div><font size="1" face="-webkit-monospace"><span style="font-size: 16px;"><br></span></font></div><div><font size="1"><span style="font-family: -webkit-monospace; font-size: 16px;">This kind of things seem to be due to a lack of development in&nbsp;documentation and/or&nbsp;language.</span></font></div> </div></blockquote><div><br>In this case I suppose the issue is with a disagreement on what proper behaviour is. I'd rather have a open discussion about that than have everything determined by a language specification. When the language specification was written we all had far less of a coherent idea of what ChucK was or should be than we now do.<br> </div></div><br>I might still have posted about this if the specifications explicitly demanded the current behaviour without a explanation of *why* it is this way.<br><br>I suppose I agree with you but discussions like this will lead to developments and specifications. I might go as far as saying there will be little development if we don't debate.<br> <br>Yours,<br>Kas.<br> _______________________________________________<br>chuck-users mailing list<br><a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>https://lists.cs.princeton.edu/mailman/listinfo/chuck-users<br></blockquote></div><br></body></html>