
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.
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...