Difference between revisions of "Pid"

From Mesham
Jump to navigationJump to search
(Created page with '== Overview == This pid[] function will return the current processes' ID number. * '''Pass:''' Nothing * '''Returns:''' An integer representing the current process ID == Exampl…')
 
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
  
This pid[] function will return the current processes' ID number.
+
This pid() function will return the current processes' ID number.
 
* '''Pass:''' Nothing
 
* '''Pass:''' Nothing
* '''Returns:''' An integer representing the current process ID
+
* '''Returns:''' An [[Int]] representing the current process ID
  
 
== Example ==
 
== Example ==
  
  var a:=pid[];
+
  var a:=pid();
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:Parallel Functions]]
 
[[Category:Parallel Functions]]

Revision as of 13:17, 13 January 2013

Overview

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

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

Example

var a:=pid();