|Command||basic.%pgetpid C Function/BASIC Program
Applicable release versions: AP/Unix
|Category||BASIC Program (486)|
|Description||returns the Unix Process Id (PID) associated to the Pick process "line".
If "line" is equal to -1, the PID of the current process is returned. If "line" is equal to -2, the PID of the flush process is returned. If the Pick process is not connected, 0 (zero) is returned.
* Get our own pid pid=%pgetpid( system( 22 ) )