Develop > Programming > System Language reference > List: RAD functions > RAD function: sysinfo.get("ThreadID")

RAD function: sysinfo.get("ThreadID")

A RAD function that returns the number of the current RAD thread.

Function

sysinfo.get("ThreadID")

Format

$info=sysinfo.get("ThreadID")

Example

$x=sysinfo.get("ThreadID")

After execution, the value of $x is set to the number ID of the current RAD thread.