Difference between revisions of "ACTIVEPID()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 20: | Line 20: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | [[Category: | + | [[Category:Environment Functions]] |
− | + |
Revision as of 09:10, 7 December 2012
Contents
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.