[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] concatenating and iteration



Jeremy Zuckerman <jz@xxxxxxxxxxxxxxx> writes:

> how would i get the values assigned to the vars to return in this  
> situation:
> (
> var q0, q1, q2, q3;
> q0 = 10; q1=9; q2=8; q3=7;
>
> 4.do({|i|
>     (q++i).postln

("q"++i).interpret.postln

>     })
> )
>
> //only i is returned not the values assign to q0, q1, etc.
>
> thanks!

-- 
CYa,
  Mario