{{htmlmetatags>metatag-robots=()
metatag-title=(END | ugBASIC User Manual)
metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum)
metatag-description=(Manual page for END)
metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png)
metatag-og:title=(END | ugBASIC User Manual)
metatag-og:description=(Manual page for END)
}}
====== ugBASIC User Manual ======
===== END =====
===== SYNTAX =====
END
==== PURPOSE ====
The ''END'' command is used to terminate the execution of a program.
When the computer encounters this command, it stops executing
subsequent instructions.
Generally, the ''END'' command is placed at the end of a program
to indicate its conclusion. It can be used within the program to
interrupt execution in a controlled manner, for example when a
particular condition occurs.
When the ''END'' command is encountered, the computer stops
immediately execution, also interrupts are not served anymore.
This is different from the ''HALT'' command, which only suspends
execution but not interrupts.
==== EXAMPLE ====
END
==== ABBREVIATION ====
Ee
==== AVAILABLE ON ====
==== SEE ALSO ====
[[HALT]]
==== 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 END|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY =====
[[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]