LOTUSSCRIPT LANGUAGE


GetThreadInfo function
Returns system information about the thread.

Syntax

GetThreadInfo (Dim InfoID as Integer)

Elements

InfoID


Return values

Data


Usage

Pass any of the LSI_ constants from the table below to GetThreadInfo to have it return the current value of that constant.
CodeMeaning
LSI_THREAD_LINECurrent Line Number
LSI_THREAD_PROCName of current procedure
LSI_THREAD_MODULEName of current module
LSI_THREAD_VERSIONLotusScript version number
LSI_THREAD_LANGUAGE(Human) language setting
LSI_THREAD_COUNTRYCountry or region setting
LSI_THREAD_TICKSGet current clock ticks
LSI_THREAD_TICKS_PER_SECGet clock ticks per second (supported only on platforms that support parallel processing primitives)
LSI_THREAD_PROCESS_IDGet current process ID (supported only on platforms that support parallel processing primitives)
LSI_THREAD_TASK_IDGet current task ID (supported only on platforms that support parallel processing primitives)
LSI_THREAD_CALLPROCGet the name of the calling procedure
LSI_THREAD_CALLMODULEGet the name of the calling module
The values of the constants are defined in LSPRVAL.LSS, which is automatically included through LSCONST.LSS.

See Also