This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
Process number
|
Process number ( nom | id ; * ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
nom | id | String, Longint |
![]() |
Nom (chaîne) ou ID (Entier long) du processus pour lequel le numéro de processus doit être récupéré. | |||||
* |
![]() |
Retourne le numéro de processus du serveur | ||||||
Function result | Longint |
![]() |
Process number | |||||
Process 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. Please refer to the descriptions of these commands for details.
If the command is executed with the * parameter from a process on the server machine, the returned value is positive.
_o_PROCESS PROPERTIES
GET PROCESS VARIABLE
Process state
SET PROCESS VARIABLE
Product: 4D
Theme: Processes
Number:
372
Created: 4D v6
Modified: 4D v20 R7
4D Language Reference ( 4D v20 R7)