CreateThread()

Syntax

ThreadID = CreateThread(@ProcedureName(), Value)

Description

Create a new thread running in the application background. If the thread is correctly created, Tit returns the ThreadID which will be used with the other thread commands as KillThread(), PauseThread(), etc... The procedure must be created with the specified format:

Procedure YourProcedure(Value)
EndProcedure

The 'Value' argument of CreateThread() is passed to the Value parameter of the procedure.

Supported OS

Windows

Thread - Index