TSK (2)
Report Active Ghost Tasks
This string function returns a string of the currently active ghost tasks (ghost tasks that have been started).
Syntax
Section titled “Syntax”TSK ( 2 [,ERR=line-ref|,ERC=error-code])line-ref- is the program line number to branch to if an error is produced by this function.
error-code- is a programmer-defined error code. Valid values are positive or negative whole numbers.
Remarks
Section titled “Remarks”This function is generally available starting with release level 7.4.
This function returns a 6-byte string for each active ghost task in the following format:
Byte(s)- Description
1 - 4- Unused ($00000000$)
5 - 6- Two-character ghost task name
Examples
Section titled “Examples”LET T$ = TSK (2)If T$ = $000000004730000000004732$, it prints as G0G2 indicating that ghost tasks G0 and G2 are active.
See also
Section titled “See also”TSK (bank-num), TSK (0), and TSK (3) functions
From the Thoroughbred Basic Language Reference, Volume III: R–Z, version 8.9.1. Open this page in the PDF