Difference between revisions of "MC-Basic:KILLTASK"

From SoftMC-Wiki
Jump to: navigation, search
m (1 revision)
Line 37: Line 37:
 
* [[Axystems:MC-Basic:STARTTASK|STARTTASK]]
 
* [[Axystems:MC-Basic:STARTTASK|STARTTASK]]
  
 +
[[Category:Axystems:MC-Basic:Task Control|KILLTASK]]
  
 
}}
 
}}

Revision as of 15:54, 10 March 2014

This command aborts the execution of a task. The program pointer is left on the line at which the task was stopped. All motion being controlled by the specified task is stopped, all attached devices are detached, and all events are cancelled. The task can be restarted using the STARTTASK command. A task that was killed cannot be continued.

Short form

KTas

Syntax

KillTask <task>

Availability

All versions

Range

<task>: Name of a task that is loaded in memory.

Scope

Task or Terminal

Limitations

Write-Only. Task must be loaded in memory.

Examples

KillTask StartCutting.prg

See Also