Process number
Process number ( name {; *} ) : Integer
Process number ( id {; *} ) : Integer
引数 | 型 | 説明 | |
---|---|---|---|
name | Text | → | Name of process for which to retrieve the process number |
id | Text | → | ID of process for which to retrieve the process number |
* | 演算子 | → | Return the process number from the server |
戻り値 | Integer | ← | Process number |
履歴
リリース | 内容 |
---|---|
20 R7 | Support of id parameter |
説明
Process number
returns the number of the process whose name or id you pass in the first parameterProcess number
returns the number of the process whose name or id you pass in the first parameter. If no process is found, Process number
returns 0.
The optional parameter * allows you to retrieve, from a remote 4D, the number of a process that is executed on the server. In this case, the returned value is negative. This option is especially useful when using the GET PROCESS VARIABLE, SET PROCESS VARIABLE and VARIABLE TO VARIABLE commands.
If the command is executed with the * parameter from a process on the server machine, the returned value is positive.