This will return a unique ID for the calling thread.
Input:
None
Returns: INT
The Thread ID of the calling thread.
Declaration:
FUNCTION thGetID() : INT;