Difference between revisions of "MC-Basic:KILLTASK$"
m (Miborich moved page Axystems:MC-Basic:KILLTASK$ to MC-Basic:KILLTASK$: Global renaming of Axystems: namespace into (Main):) |
|||
| Line 42: | Line 42: | ||
|SEE ALSO= | |SEE ALSO= | ||
| − | * [[ | + | * [[MC-Basic:LOAD|LOAD]] |
* [[Axystems:MC-Basic:STARTTASK|STARTTASK]] | * [[Axystems:MC-Basic:STARTTASK|STARTTASK]] | ||
[[Category:Axystems:MC-Basic:Task Control|KILLTASK$]] | [[Category:Axystems:MC-Basic:Task Control|KILLTASK$]] | ||
}} | }} | ||
Revision as of 08:38, 22 May 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/STARTTASK$ command. A task that was killed cannot be continued.
Short form
KTas$
Syntax
KillTask$ <filename>
Availability
All versions
Type
<filename>: String
Scope
Task or Terminal
Limitations
Write only. Task must be loaded in memory.
Examples
KTas$ “MAKECUT.PRG”
Or
Common shared Str1 as string
Str1 = “MAKECUT.PRG”
KTas$ Str1