Specifications

Chapter 14. Statement Reference
208
Syntax:
END
Description:
END terminates program execution and sounds the beeper for a second.
An END can appear anywhere in a source program.
When an
END statement executes, all of the files being opened become closed,
and then either of the following operations takes place depending upon whether
or not any application program has been selected as an execution program (to be
run when the BHT is turned on) in System Mode.
- If any application program has been selected, the BHT turns off the power
after three seconds from the message indication of the "Program end."
- If an execution program has not been selected, control passes to System
Mode.
(For System Mode, refer to the BHT User's Manual.)
Flow control statement
END
Terminates program execution.