Returns the current status of a thread.
IF ThreadState("Thread1") = threadSuspended THEN
<Result> = ThreadState(<Thread name>)
Current status of thread:
|threadRunning||The thread is running.|
|threadStopRequested||A stop request has been made for this thread. |
|threadSuspended||The thread is suspended.|
|threadUnknown||The thread was not created or it was destroyed.|
<Thread name>: Character string
Name of thread whose status is requested. This name is given when running the thread (ThreadExecute).