HP 3000 Manuals

TASKID [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

TASKID 

The TASKID function returns the current task number.  The task number is
the PIN (Process Identification Number) for a process (in this case the
PIN for the HP Business BASIC/XL interpreter or the compiled program).
The PIN is assigned by the operating system for keeping track of multiple
processes.  You can use the PIN to find out more information about a
process.

Syntax 

TASKID

Examples 

     10  Pin = TASKID   !After this call, pin will contain the PIN
     11                 !for this process.



MPE/iX 5.0 Documentation