<div dir="ltr">no dice.  <div><br></div><div><div>1 => int choosePulse;</div><div><br></div><div>BlitSquare pls[10];</div><div>BlitSaw saw[10];</div><div>BLT osc[10];</div><div>if (choosePulse) {</div><div>pls @=> osc;</div>
<div>} else {</div><div>saw @=> osc;</div><div>}</div></div><div><br></div><div>produces a compile error at the "pls @=> osc" line:</div><div><p style="margin:0px">[untitled]:line(7): cannot assign '@=>' on types 'BlitSquare[]' @=> 'BLT[]'...</p>

<p style="margin:0px">[untitled]:line(7): ...(reason: --- incompatible types for assignment)</p><p style="margin:0px"><br></p><p style="margin:0px">Perry's workaround is good enough, though.</p><p style="margin:0px">
<br></p><p style="margin:0px"> - George</p></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 2, 2014 at 10:37 PM, Zacko Belsch <span dir="ltr"><<a href="mailto:zackobelsch@gmail.com" target="_blank">zackobelsch@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="text-align:-webkit-auto;font-size:medium;font-family:Helvetica">I'm not sure whether the following is relevant or not.</div>
<div style="text-align:-webkit-auto;font-size:medium;font-family:Helvetica">
<br></div><div style="text-align:-webkit-auto;font-size:medium;font-family:Helvetica">Looking at the chuck source code (in <font color="#000000" face="Helvetica" size="3">ugen_stk.h)</font>, it appears the common superclass of BlitSaw and BlitSquare is BLT, not Blit.  Would what you tried work if you used BLT for your common array instead of Blit?</div>

<div style="text-align:-webkit-auto;font-size:medium;font-family:Helvetica"><br></div><div style="text-align:-webkit-auto;font-size:medium;font-family:Helvetica"><span style="text-align:-webkit-auto">Bob H</span><br>
</div><div style="text-align:-webkit-auto;font-size:medium;font-family:Helvetica"><br></div><div><br></div></div>
<br>_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
<br></blockquote></div><br></div>