
Commands - 42
END
Statement
SYNTAX: END
PURPOSE: To halt execution of a pr ogram at a given point.
REMARK S: END causes execution to cease without any message.
RELATED: STOP
EXAMPLE: 10 GOSUB 50
20 PRINT "STATEMENT"
30 END
50 PRINT "END";
60 RETURN
Without the END statement at line 30, execution would continue through lines 50 and 60 with a
second “end” printed. A “GOSUB” error would also occur.
ERROR: none
Comentarios a estos manuales