processState
processState ( process : integer ) : integer
Parameter | Type | Description | |
---|---|---|---|
process | integer | -> | Process number |
Result | integer | <- | State of the process |
Description
The processState
command returns the state of the process whose number you pass in process.
This command can return one of the values provided by the following constants:
Constant | Value |
---|---|
kAborted | -1 |
kDelayed | 1 |
kDoesNotExist | -100 |
kExecuting | 0 |
kPaused | 5 |
kWaitingForInputOutput | 3 |
kWaitingForInternalFlag | 4 |
kWaitingForUserEvent | 2 |