Difference between revisions of "MC-Basic:TASKLIST"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Read-Only" to "Read only")
m (Text replace - "''<task>''" to "<''task''>")
Line 12: Line 12:
 
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=''<task>'',State=''<state>, ''Priority=''<priority>''{,FileName=<''file>''}
+
TaskName=<''task''>,State=''<state>, ''Priority=''<priority>''{,FileName=<''file>''}
  
 
1:  Running<br>
 
1:  Running<br>
Line 44: Line 44:
  
 
|RANGE=
 
|RANGE=
''<task>'': defined tasks<br>
+
<''task''>: defined tasks<br>
 
<state> : See the description<br>
 
<state> : See the description<br>
 
''<priority>'': 1 to 16
 
''<priority>'': 1 to 16

Revision as of 12:49, 20 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

See Also