CONT

From C64-Wiki
Jump to: navigation, search
BASIC keyword
Keyword: CONT
Abbreviation: C Shift+O
Type: Command
Token code: 154/$9A
Handling routine
in BASIC ROM:
43095–43120
$A857–A870
List of all BASIC keywords


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

Type: Command
General Programming-Syntax: CONT

The BASIC-Command CONT is used to make a BASIC program, which either ended in an END or STOP command, or was halted by pressing the RUN/STOP -key, resume execution.

Note that CONT fails to work if the BASIC program is edited after stopping; editing the program recalculates and overwrites the start of variable memory pointers, effectively clearing variable memory. Therefore, trying to CONTinue a program that was stopped, then edited, yields the BASIC error message ?CAN'T CONTINUE ERROR..

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