English
Language : 

NSB8 Datasheet, PDF (41/158 Pages) List of Unclassifed Manufacturers – BASIC interpreter for Z80 family
ITALIAN TECHNOLOGY
grifo®
END
STATEMENT:
END
ACTION:
Terminates program execution.
EXAMPLE PROGRAM:
10 REM PRINT “2+2=” , P
20 END
REMARKS:
END is similar to STOP, except that you can’t continue after an END, nor is any message sent to the
console terminal. END causes the end of program execution and a return to direct mode. It is useful
when you want to terminate program execution at some point in the midst of the program.
If normal sequential execution extends past the last statement (the end of the listing) before an END
is executed, END will be assumed as the “last” statement. Therefore, you are not required to use END
as the last statement in the program.
ERROR MESSAGES:
None.
SEE ALSO:
Statement STOP
Section THE FOR NEXT LOOP
NSB8
Rel. 5.10
Page 29