Skip to main content

10.5.3.21. TaskWait

10.5.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.

Syntax

TaskWait SUB=<Subtask>

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.