Skip to content

Thread_get_return

hpgDesigns edited this page Aug 8, 2021 · 1 revision

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

This is number 1

Clone this wiki locally