9 Nov
2006
9 Nov
'06
10:34 p.m.
:) but your way doesnt block the loop! how come? 0 => float off; while (true){ if(off){break;} } locks the loop i am not sure why, but 0=>int off; while(!off){ 0.2::second => now; } does not lock it. Or thats what it seems to me... any reason for this? thanks! enrike joerg piringer wrote:
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