[chuck-users] Time logic

Juan-Pablo Caceres jcaceres at ccrma.stanford.edu
Sat Nov 10 12:29:47 EST 2007


Hi there,

I have another question concerning time logic.  The following 2 examples 
are similar:

// 1)
while (true)
{
     <<<"HELLO">>>;
     1::second => now;
}

// 2)
while (1::second => now)
{
     <<<"HELLO">>>;
}


So the question is, is the second case using some syntactic sugar? 
Because conceptually it doesn't sound right to me. Maybe the chuck gurus 
out there can make more sense of it?

Thanks!
JPa.


More information about the chuck-users mailing list