System Debug Reference Manual (32650-90888)

Chapter 10 433
System Debug Standard Functions
func pstate
$nmdat > wl prog( 1234.5678 )
PROG $1234.5678
$nmdat > wl prog( true )
PROG $0.1
$nmdat > wl prog( "ABCDEFG" )
PROG $414243.44454647
$nmdat > wl prog( grp(1.2) )
PROG $1.2
Limitations, Restrictions
none
func pstate
Returns the process state for the specified PIN as a string.
Syntax
pstate (
pin
)
The following table lists all possible returned process state strings:
UNBORN
INITIATE
ALIVE
DYING
DEAD
UNKNOWN
Note that the process state string is always returned in capital letters.
Formal Declaration
pstate:str (
pin
:u16)
Parameters
pin
The process identification number (PIN) of the process whose process state
is to be returned.