processNumber
processNumber ( name : string ) : integer
processNumber ( id : string ) : integer
Parameter | Type | Description | |
---|---|---|---|
name | string | -> | Name of process for which to retrieve the process number |
id | string | -> | ID of process for which to retrieve the process number |
Result | integer | <- | 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.