End - IBM 5100 Basic Reference Manual

Hide thumbs Also See for 5100:
Table of Contents

Advertisement

(-
(
(
END
END [comment]
The END statement allows you to specify the logical end of a BASIC program and to
terminate program execution. The syntax of the END statement is as shown:
END [comment]
where:
comment
is optional.
The END statement signifies that the program should be ended. It can be entered
anywhere in a BASIC program. When an END statement is encountered during
execution of a program, it causes all open files to be closed and it terminates pro-
cessing. The actions of the END statement are identical to those of the STOP
statement.
Note
About END
The END statement is optional. If omitted, END is assumed by the system to
follow the highest-numbered statement in the program.
Example
A sample END statement is as shown:
0910 END PG4
69

Advertisement

Table of Contents
loading

Table of Contents