Portability Function: Returns the process ID of the current process.
Module: USE IFPORT
Syntax
result = GETPID( )
Results
The result type is INTEGER(4). The result is the process ID number of the current process.
Compatibility
CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB
Example
USE IFPORT
INTEGER(4) istat
istat = GETPID()