getpid

Returns the current process ID.

Syntax

R = getpid

Outputs

R
Current process ID.
Type: integer

Examples

Get the current process ID:
R = getpid
R = 16832