[chuck-users] chuck output to console on stdout

Aurélien Bondis abondis at kerunix.com
Wed Dec 12 21:44:46 EST 2012


Hi,

I don't know for sure if this applies to your version but in the doc it
says chout and stdout have been disabled

http://chuck.cs.princeton.edu/doc/language/overview.html
"For the time being, stdout and chout have been temporarily disabled for
the present release. In their place we have provided a debug print"

Aurélien

On Thu, 13 Dec 2012, stephane.poirier at oifii.org wrote:

> 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
> 
> 

> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users



More information about the chuck-users mailing list