MC-Basic:TASKLIST

From SoftMC-Wiki
Jump to: navigation, search
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

See Also