Was that supposed to print "yeah", short pause, "2", two seconds, then finish? Because that's what it did here (chuck command line in an OS X terminal). Maybe a Win32-only bug?<div><br class="webkit-block-placeholder">
</div><div>/Stefan<br><br><div class="gmail_quote">On Mon, Mar 17, 2008 at 7:39 PM, Kassen <<a href="mailto:signal.automatique@gmail.com">signal.automatique@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><div><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">@kas, i thought i tried that, but i might have gotten confused at the "spork ~ my_fun() @=> my_shred;" line<br>
<br>the online documentation says "spork ~ my_fun() => Shred @ my_shred;" without declaring my_shred first, and this gives syntax errors.</blockquote><div><br><br>I think we may have a bug; the following compiles and the id is right but the shred doesn't die when it should. Quite weird.<br>
<br>Kas.<br>----------------------------------<br>fun void foo()<br> {<br> .5::second => now;<br> <<<"yeah">>>;<br> minute => now;<br> }<br> <br> <br>spork ~foo() @=> Shred bar;<br>
<br><br>second => now;<br><<<bar.id()>>>;<br>second => now;<br>bar.exit();<br><br>2::second => now; <br></div><br></div>
<br>_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Release me, insect, or I will destroy the Cosmos!
</div>