Difference between revisions of "MC-Basic:TASKLIST"
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= ?TaskList |AVAILABILITY= Versions 3.0 and later |DESCRIPTION= Lists the names and states of loaded tasks. Each has the following format:<br> …') |
|||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:TASKLIST}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 12: | Line 13: | ||
Lists the names and states of loaded tasks. Each has the following format:<br> | Lists the names and states of loaded tasks. Each has the following format:<br> | ||
− | TaskName='' | + | TaskName=<''task''>,State=''<state>, ''Priority=''<priority>''{,FileName=<''file>''} |
1: Running<br> | 1: Running<br> | ||
Line 44: | Line 45: | ||
|RANGE= | |RANGE= | ||
− | '' | + | <''task''>: defined tasks<br> |
<state> : See the description<br> | <state> : See the description<br> | ||
''<priority>'': 1 to 16 | ''<priority>'': 1 to 16 | ||
Line 58: | Line 59: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | Read | + | Read only |
|EXAMPLE= | |EXAMPLE= | ||
Line 64: | Line 65: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:task.STATE|task.STATE]] |
− | * [[ | + | * [[MC-Basic:task.STATUS|task.STATUS]] |
− | + | * [[MC-Basic:LOAD$|LOAD$]] | |
+ | [[Category:MC-Basic:Task Control|TASKLIST]] | ||
}} | }} |
Latest revision as of 08:38, 2 May 2017
Language: | English • 中文(简体) |
---|
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