31 Oct
2007
31 Oct
'07
4:34 p.m.
Hi Juan-Pablo!
use things like: 100::ms +=> now;
I don't understand exactly the meaning of that, but I think it should be the same as: 100::ms => now;
That's exactly right. In fact, 100::ms +=> now is the formal, more semantically "correct" syntax, and 100::ms is a "shorthand".
Is that notation depreciated? Because that line is crashing ChucK, this simple program: //---------------------- <<< "now" >>>; 1::second +=> now; //----------------------
That would be a bug alright! I repro'ed on windows and os x, and have tracked down the problem to incorrect emission of instructions for +=> now. It's now fixed in CVS. I wonder how long that has been broken... Apparently no one actually uses +=> now, huh huh. Best, Ge!