[chuck-users] a strange idea

Michael Heuer heuermh at gmail.com
Tue Oct 23 23:14:39 EDT 2012

David Ogborn <ogbornd at mcmaster.ca> wrote:

> While preparing some sample code for the Cybernetic Orchestra, I hit upon a strange idea I thought I would share with this list.  What if there were an instruction/built-in function in ChucK that yielded control forever?
> A lot of sample code has something like this in it:
> while(1::minute=>now){}
> It would be elegant if this could be written like this:
> forever => now;
> Or something like that!
> eternity => now; // ?

1::week => now;

is pretty long.  :)


More information about the chuck-users mailing list