END

From C64-Wiki
Jump to: navigation, search
BASIC keyword
Keyword: END
Abbreviation: E Shift+N
Type: Command
Token code: 128/$80
Handling routine
in BASIC ROM:
43057–43094
$A831–A856
List of all BASIC keywords


Remark: This article describes the BASIC-Command END in BASIC V2 at the Commodore 64.

Type: Command
General Programming-Syntax: END

The BASIC-Command END ends a BASIC-program and the BASIC-Interpreter writes READY. Any BASIC-Code following the end statement will not process, but with the BASIC-Commands CONT or RUN [<Line Number>] the program resume.

The BASIC-Command End is not necessary in the last line, the program will end normally after the last line is executed.

BASIC V2.0 (second release) Commands

ABS | AND | ASC | ATN | CHR$ | CLOSE | CLR | CMD | CONT | COS | DATA | DEF | DIM | END | EXP | FN | FOR | FRE | GET | GET# | GOSUB | GOTO | IF | INPUT | INPUT# | INT | LEFT$ | LEN | LET | LIST | LOAD | LOG | MID$ | NEW | NEXT | NOT | ON | OPEN | OR | PEEK | POKE | POS | PRINT | PRINT# | READ | REM | RESTORE | RETURN | RIGHT$ | RND | RUN | SAVE | SGN | SIN | SPC | SQR | STATUS/ST | STEP | STOP | STR$ | SYS | TAB | TAN | THEN | TIME/TI | TIME$/TI$ | TO | USR | VAL | VERIFY | WAIT