MC-Basic:IDLETASK$

From SoftMC-Wiki
Revision as of 12:48, 20 March 2014 by Lisa (talk | contribs) (Text replace - "''<task>''" to "<''task''>")
Jump to: navigation, search

This command stops the task at the end of the line currently being executed, and idles all its events. An idled task can be continued (using the CONTINUETASK command) or terminated (using the KILLTASK command).

NOTE-Info.svgNOTE
IDLETASK$ does not stop the motion currently executing. This is significant because all the events are idled and cannot respond to axis motion.

Short form

ITas$

Syntax

IdleTask$ {<task>}

Availability

All versions

Type

<task>: String

Scope

Task or Terminal

Limitations

Write only. Task must be loaded in memory.

Examples

IdleTask$ “Task1.prg”

Or

Common Shared Str1 as string

Str1 = “Task1.Prg”

IdleTask$ Str1

See Also