Difference between revisions of "ACTIVEPID()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
==Class==
 
==Class==
Environment
+
Disk and File Utilities
  
  
Line 31: Line 31:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Disk and File Utilities]]
 +
[[Category:Disk and File Utilities Functions]]

Revision as of 14:47, 4 June 2009

Class

Disk and File Utilities


Purpose

Function to return activity of identified process


Syntax

ACTIVEPID(<expN>)


See Also

CANCELPID(), GETGID(), GETPID(), GETUID(), SPAWN, SPAWNPID()


Description

The ACTIVEPID() function returns .T. if the specified process ID, <expN> is still active and .F. otherwise. The SPAWNPID() function is used to get the process ID <expN> of the last process spawned with the SPAWN command.


Example

spawn db program
? activepid(spawnpid())
.T.


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer