Skip to main content

10.4.3.21. TaskWait

10.4.3.21. TaskWait

 

Explanation

Waits for the relevant subtask to be destroyed and a subtask will be automatically destroyed when the program end is executed.

Grammar

TaskWait SUB=<Subtaks>

Parameter

Subtask

Designate the subtask to be destroyed

1~3

Example

TaskWait SUB=1 'Waits for the subtask 1 to be destroyed

 

 

 

l Generally, this is to be used together with the TaskStart statement.