2008/6/6 mike clemow &lt;<a href="mailto:gelfmuse@gmail.com">gelfmuse@gmail.com</a>&gt;:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello list,<br>
</blockquote><div><br>Hey, mike! <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Couldn&#39;t find this one in the manual. &nbsp;Where do sporked funcitons<br>
return to? &nbsp;How do I get the return value of a spoked function?<br>
</blockquote><div><br>they don&#39;t and you won&#39;t, I fear..... (or shred-heaven, depending on your persuasion)<br><br>Normal functions run inside of a shred and can return a value for the rest of the shred to work with. Sporked functions, on the other hand, run paralel to the sporking shred, in their own shred. As the originating shred doesn&#39;t wait for them to finish it makes no sense for them to return anything. Because of this you can only spork functions of return-type &quot;void&quot;.<br>
<br>You can still, BTW, advance time within a normal function if you&#39;d like. On the other hand; you don&#39;t need to advance time in sporked functions as such, it&#39;s just that sporking only makes sense if you also advance time in that function/shred.<br>
<br>Because of this I&#39;m not really sure what you need return values from sporked functions for but if your sporked functions need to comunicate to the other shreds on what they&#39;ve done events may suit your needs?<br>
<br>Hope that clarifies.<br>Yours,<br>Kas.<br></div></div>