PickBASIC / FlashBASIC
u2117 user exit
.mdThe u2117 user exit returns information about the current process.
Syntax
result = oconv(0, ’u2117’)
Description
The information is returned in a dynamic array.
| result<1> | Contains the PCB (Process Control Block) in hexadecimal, and the PIB status. | |
| result<2> | Contains the process’ return stack, separated by value marks. | |
| result<3> | Contains: | |
| 0 | If it was the last process. | |
| 1 | If it is the current process. | |
| 2 | If none of the above. | |
If the process is not logged on, then result<1> and result<2> are empty.