Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > thread()

 

thread()

Syntax

thread(threadNameOrNumber)

Description

Multiuser Server server-side keyword; references a thread by its name or relative number in the thread list.

Example

These server-side statements display the name and status of each thread in the thread list in the server's console window:

repeat with i = 1 to n 
	theThread = thread(i) 
	put "Thread " & theThread.name & " status =" & theThread.status 
end repeat

See also

status