[chuck-users] quiting chuck from chuck and saving reference to function
joerg piringer
joerg at piringer.net
Thu Nov 9 12:57:44 EST 2006
altern wrote:
> I just needed this, setting variable off to 1 exits the main loop. I am
> still confused with ChucK ;) so i guess i did not asked the question in
> the right way.
>
> 0=>int off;
> while(true){
> if(off){break;}
> 0.2::second => now;
> }
>
you could even write:
0=>int off;
while(!off)
{
0.2::second => now;
}
best
joerg
--
http://joerg.piringer.net
http://www.transacoustic-research.com
http://www.iftaf.org
http://www.vegetableorchestra.org/
More information about the chuck-users
mailing list