Difference between revisions of "MC-Basic:CONTINUETASK$"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Write-Only" to "Write only")
m
Line 35: Line 35:
  
 
|EXAMPLE=
 
|EXAMPLE=
ContinueTask$ “Task1.prg”
+
<pre>ContinueTask$ “Task1.prg”</pre>
  
 
Or
 
Or
  
Common Shared Str1 as string
+
<pre>Common Shared Str1 as string
 
 
 
Str1 = “Task1.Prg”<br>
 
Str1 = “Task1.Prg”<br>
 
+
ContinueTask$ Str1</pre>
ContinueTask$ Str1
 
  
 
|SEE ALSO=
 
|SEE ALSO=

Revision as of 11:38, 23 April 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

See Also