Difference between revisions of "MC-Basic:CONTINUETASK$"
| Line 46: | Line 46: | ||
* [[MC-Basic:KILLTASK|KILLTASK]] | * [[MC-Basic:KILLTASK|KILLTASK]] | ||
* [[MC-Basic:LOAD|LOAD]] | * [[MC-Basic:LOAD|LOAD]] | ||
| − | * [[ | + | * [[MC-Basic:STARTTASK|STARTTASK]] |
[[Category:Axystems:MC-Basic:Task Control|CONTINUETASK$]] | [[Category:Axystems:MC-Basic:Task Control|CONTINUETASK$]] | ||
}} | }} | ||
Revision as of 08:40, 22 May 2014
This command continues an idle task from the point at which it was stopped (idled), or continues task execution after a break point is reached.
If a run time error occurs, CONTINUETASK retries the line that caused the error. The error must be corrected before the task continues.
ContinueTask$ command wakes up the task from Sleep.
Short form
CTas$
Syntax
ContinueTask$ <task name>
Availability
Version 3.6.20 and higher
Type
<task name>: String
Range
<task name>: Name of a task that is loaded in memory
Scope
Task or Terminal
Limitations
Write only. The task must be loaded in memory.
Examples
ContinueTask$ “Task1.prg”
Or
Common Shared Str1 as string Str1 = “Task1.Prg”<br> ContinueTask$ Str1