Skip to main content

processState

processState ( process : integer ) : integer

ParameterTypeDescription
processinteger->Process number
Resultinteger<-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:

ConstantValue
kAborted-1
kDelayed1
kDoesNotExist-100
kExecuting0
kPaused5
kWaitingForInputOutput3
kWaitingForInternalFlag4
kWaitingForUserEvent2