OFF (BASIC 7.0)
BASIC keyword | |
Keyword: | OFF |
Abbreviation: | O and SHIFT+F |
Type: | |
Token code: | (254 36) / $fe $24 |
Handling routine in BASIC ROM: |
|
List of all BASIC keywords |
Remark: This article describes the BASIC command OFF in Commodore BASIC 7.0 or higher.
Type: Command General Programming-Syntax: OFF
The command OFF has no task and only triggers the error message when called.
It is unknown what task was originally intended for this command.
Probably OFF was not intended to be used as a stand-alone command, but as a keyword in combination with other commands.
Thus, the command combination KEY OFF
does not lead to a ?SYNTAX ERROR, as expected, but generates (just like KEY ON'
) a ?UNIMPLEMENTED COMMAND ERROR.
According to the website mentioned below, this command was implemented for the Commodore LCD in the BASIC version (BASIC v3.6), which was not released, in order to hide the function key assignment if necessary.
Examples[edit | edit source]
OFF
Triggers the error message ?UNIMPLEMENTED COMMAND ERROR.
Links[edit | edit source]
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