Function ThreadID() Foundation

Retrieves the numeric ID of the current thread.

Syntax
ThreadID() -> nThreadID
Return

The function returns a numeric value > 0.

Description

The function ThreadID() is used to get the numeric ID of the thread in which the function is called. The value is unique within a single process and may occur multiple times in different processes.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.