MC-Basic:KILLTASK$

From SoftMC-Wiki
Jump to: navigation, search

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

See Also