Added in v2.0


Syntax: #TH name commands

When no arguments are given, the list of currently active threads is displayed on the screen. When a name is given, the current thread name is set to the specified string. Using the optional commands field creates a new background thread with the specified name and commands.

THREAD example

Displays the list of active threads

#THREAD "main"
Changes the name of the current thread to "main"

#THREAD "abc" {#WAITFOR "abc";def}

Creates a thread named "abc" with the commands listed

Add comment

Login or register to post comments