4D v16.3Process state |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
Process state
Process state
The Process state command returns the state of the process whose number you pass in process. The function result can be one of the values provided by the following predefined constants:
If the process does not exist (which means you did not pass a number in the range 1 to Count tasks), Process state returns Does not exist (-100). The following example puts the name and process reference number for each process into the asProcName and aiProcNum arrays. The method checks to see if the process has been aborted. In this case, the process name and number are not added to the arrays: $vlNbTasks:=Count tasks
See also
|
PROPERTIES
Product: 4D
HISTORY
Created: < 4D v6 ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||