STOP

From C64-Wiki
Jump to navigationJump to 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 of the Commodore 64.

Typ: Command
General Programming-Syntax: STOP

The BASIC command STOP halts a program and displays the BASIC message BREAK IN Line with READY.. The BASIC command STOP has the same effect as pressing the <RUN/STOP> key.

The stopped BASIC program can resume without deleting the stack with CONT or GOTO [<Line number>] .

Also, all opened files and values of variables will remain intact, because the command has 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