User Tools

Site Tools


ugbasic:user:kw:kill
Translations of this page:


ugBASIC User Manual

KILL

SYNTAX

   KILL id[,id[,...]]

PURPOSE

The KILL command terminates the execution of a thread, thereby stopping its execution and returning it to a “terminated” state. This command occurs regardless of what the thread is doing; therefore, it can cause processes or procedures to fail. Any thread can be killed at any time, as long as it is active. If a thread is not active, killing it will have no effect. You can interrupt a set of threads contained in an array by supplying the array name.

EXAMPLE

  KILL handleThread

ABBREVIATION

 Ki

AVAILABLE ON

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY