/
ColdC/Functions/
ColdC/Structure/
<head><title>ColdC: Function/Method Reference: resume()</title></head>

<body>

<h1 align=center><a href="/ColdC/">ColdC</a>: <a href="/ColdC/Functions/">Function/Method Reference</a>: resume()</h1>

<hr>

<p>
<font size=+1><i>INTEGER</i> <b>resume</b>(<i>INTEGER <b>task_id</b>[, ANY <b>value</b>]</i>)</font>

<p>This function resumes the suspended task referenced by <var>task_id</var>.
If no task exists with <var>task_id</var> the error <code>~type</code> is
thrown.  The optional second argument <var>value</var> is used as the return
value for the function <a href="suspend.html"><code>suspend()</code></a>.
If a second argument is not specified the return value of <code>suspend()</code>
is zero.  See <a href="/ColdC/tasks.html">Frames and Tasks</a> for more
information on preempting and task control.

<p><hr size=4><p align=center><i>Last Modified on Mar 2 1996</i>
<br><i>Copyright &copy; 1995, 1996, Brandon Gillespie</i>
</body>