function
| Library: Utilities (OMUTIL legacy) Include: omutil.xin | Returns: a platform-specific number that identifies a process | 
define external integer function UTIL_GetProcessId
This function returns a platform-specific number that uniquely identifies the process.
Example:
; get the Process ID, a platform-specific number identifying the process include "omutil.xin" process local integer pid set pid to UTIL_GetProcessId output "Process ID = %d(pid).%n"