Skip to main content

processNumber

processNumber ( name : string ) : integer
processNumber ( id : string ) : integer

ParameterTypeDescription
namestring->Name of process for which to retrieve the process number
idstring->ID of process for which to retrieve the process number
Resultinteger<-Process number

Description

The processNumber command returns the number of the process whose name or id you pass in the first parameter. If no process is found, processNumber returns 0.