Difference between revisions of "MC-Basic:TASKLIST"
m (1 revision) |
|||
Line 67: | Line 67: | ||
* [[Axystems:MC-Basic:LOAD$|LOAD$]] | * [[Axystems:MC-Basic:LOAD$|LOAD$]] | ||
− | + | [[Category:Axystems:MC-Basic:Task Control|TASKLIST]] | |
}} | }} |
Revision as of 13:25, 11 March 2014
Lists the names and states of loaded tasks. Each has the following format:
TaskName=<task>,State=<state>, Priority=<priority>{,FileName=<file>}
1: Running
2: Stopped
3: Single step mode
4: Error
5: Terminated
6: Step-over mode
7: Ready ( SUSPEND STATE )
8: Task in `proceed` state (this state is invalid)
9: Incorrect state (probably kill task failed)
10: Killed ( SUSPEND STATE )
Also task may be "+Locked" in addition to the above states .The task priority ranges from 1 through 16. The highest priority is 1.
If no tasks are loaded, the response is, “No tasks found”.
The FileName field is displayed only when the task was loaded with a different name from its original file name, using the Loas$…As command.
Syntax
?TaskList
Availability
Versions 3.0 and later
Range
<task>: defined tasks
<state> : See the description
<priority>: 1 to 16
Scope
Terminal
Limitations
Read-Only
Examples
?TaskList