STOP

From C64-Wiki
Jump to: navigation, search
BASIC keyword
Keyword: STOP
Abbreviation: S Shift+T
Type: Command
Token code: 144/$90
Handling routine
in BASIC ROM:
43055–43056
$A82F–A830
List of all BASIC keywords


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

Typ: Command
General Programming-Syntax: STOP

The BASIC-Command STOP breaks a program and it prints the BASIC-Message BREAK IN Line with READY.. The BASIC-Command STOP has got the same effect as pushing the <RUN/STOP>-key.

The breaked BASIC-Program can resume without deleting the stack with CONT or GOTO [<Linenumber>] .

Also all opened files and values of variables won't be lost, because this command has got no effect on the stack.

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