Table of Contents

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 open an issue for this keyword on GitHub. Thank you!

POWERED BY