[chuck-users] chuck output to console on stdout

stephane.poirier at oifii.org stephane.poirier at oifii.org
Wed Dec 12 20:56:24 EST 2012


Hi All,

Here below are 3 lines of code in chuck. How could I modify it to output the value of T in the chout?

// this synchronizes to period
0.75::second => dur T;
T - (now % T) => now;
// output to console on stdout
chout <= 1 <= " foo " <= 5.5 <= IO.newline();

Regards,

Stephane


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20121213/ce1883d8/attachment.htm>


More information about the chuck-users mailing list