{{htmlmetatags>metatag-robots=()
metatag-title=(KILL | ugBASIC User Manual)
metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum)
metatag-description=(Manual page for KILL)
metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png)
metatag-og:title=(KILL | ugBASIC User Manual)
metatag-og:description=(Manual page for KILL)
}}
====== 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 [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON KILL|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY =====
[[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]