Thread_get_return - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Description
Gets the value returned when the thread completed and returns it.
Parameters
Parameter | Data Type | Description |
---|---|---|
thread | integer | index of the thread |
Return Values
variant: Returns the value returned by the thread when it completed.
Example Call
// demonstrates obtaining the return value of a thread
var val;
val = thread_get_return(asynchthread);
NOTOC