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

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Write-Only" to "Write only")
Line 32: Line 32:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Write-Only. The task must be loaded in memory.
+
Write only. The task must be loaded in memory.
  
 
|EXAMPLE=
 
|EXAMPLE=

Revision as of 10:58, 20 March 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”

ContinueTask$ Str1

See Also