util.process-id

function

Library: Utilities (OMUTIL)
Import : omutil.xmd

Returns: A platform-specific number that identifies a process.


Declaration
define external integer function util.process-id


Purpose

This function returns a platform-specific number that uniquely identifies the operating system process running the current application.

Example:


  import "omutil.xmd" prefixed by util.
  process
    output "This OmniMark application has Process ID: "
        || util.process-id
        || "%n"