Remote Processing CAMBASIC User Manual
Page 75

Comm ands - 42
END
Statement
SYNTAX:
E N D
PURPOSE:
To halt exe cution 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