Pid

From Mesham
Revision as of 15:44, 15 April 2019 by Polas (talk | contribs) (4 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Overview

This pid() function will return the current processes' ID number.

  • Pass: Nothing
  • Returns: An Int representing the current process ID

Example

#include <parallel>

function void main() {
   var a:=pid();
};

Since: Version 0.41b