QUIT (BASIC 7.0)

From C64-Wiki
Jump to navigationJump to search
BASIC keyword
Keyword: QUIT
Abbreviation: Q and SHIFT+U
Type: Command
Token code: (254 30) / $fe $1e
Handling routine
in BASIC ROM:
List of all BASIC keywords


Remark: This article describes the BASIC command QUIT in Commodore BASIC 7.0 or higher.

Type: Command
General Programming-Syntax: QUIT

The command QUIT has no task and only triggers the error message when called. ?UNIMPLEMENTED COMMAND ERROR.

It is unknown what task was originally intended for this command, perhaps it was intended to end a FOR-NEXT loop prematurely (similar to EXIT ending a DO-LOOP loop).

Presumably it could also be used to exit the BASIC interpreter or a mode, e.g. the C64 mode. According to the website mentioned below, this command was implemented for the Commodore LCD version of BASIC (BASIC v3.6), which was not released.

Examples[edit | edit source]

QUIT

Triggers the error message ?UNIMPLEMENTED COMMAND ERROR.


Links[edit | edit source]


BASIC V7.0 Commands

ABS | AND | APPEND | ASC | ATN | AUTO | BACKUP | BANK | BEGIN | BEND | BLOAD | BOOT | BOX | BSAVE | BUMP | CATALOG | CHAR | CHR$ | CIRCLE | CLOSE | CLR | CMD | COLLECT | COLLISION | COLOR | CONCAT | CONT | COPY | COS | DATA | DCLEAR | DCLOSE | DEC | DEF FN | DELETE | DIM | DIRECTORY | DLOAD | DO | DOPEN | DRAW | DS | DS$ | DSAVE | DVERIFY | EL | ELSE | END | ENVELOPE | ER | ERR$ | EXIT | EXP | FAST | FETCH | FILTER | FN | FOR | FRE | GET | GET# | GETKEY | GO64 | GOSUB | GOTO | GRAPHIC | GSHAPE | HEADER | HELP | HEX$ | IF | INPUT | INPUT# | INSTR | INT | JOY | KEY | LEFT$ | LEN | LET | LIST | LOAD | LOCATE | LOG | LOOP | MID$ | MONITOR | MOVSPR | NEW | NEXT | NOT | (OFF) | ON | OPEN | OR | PAINT | PEEK | PEN | (PI) | PLAY | POINTER | POKE | POS | POT | PRINT | PRINT USING | PRINT# | PUDEF | (QUIT) | RCLR | RDOT | READ | RECORD | REM | RENAME | RENUMBER | RESTORE | RESUME | RETURN | RGR | RIGHT$ | RND | RREG | RSPCOLOR | RSPPOS | RSPRITE | RUN | RWINDOW | SAVE | SCALE | SCNCLR | SCRATCH | SGN | SIN | SLEEP | SLOW | SOUND | SPC( | SPRCOLOR | SPRDEF | SPRITE | SPRSAV | SQR | SSHAPE | ST | STASH | STEP | STOP | STR$ | SWAP | SYS | TAB( | TAN | TEMPO | THEN | TI | TI$ | TO | TRAP | TROFF | TRON | USR | VAL | VERIFY | VOL | WAIT | WHILE | WINDOW | WIDTH | XOR