RETURN
From C64-Wiki
| BASIC keyword | |
| Keyword: | RETURN |
| Abbreviation: | R, E, Shift+T |
| Type: | Command |
| Token code: | 142/$8E |
| Handling routine in BASIC ROM: | 43218–43255 $A8D2–A8F7 |
| List of all BASIC keywords | |
Remark: This article describes the BASIC-Command RETURN in BASIC V2 at the Commodore 64.
Typ: Command General Programming-Syntax: RETURN
The BASIC-command RETURN (don't confuse it with the <RETURN>-key) finishes a subroutine, which is called with the BASIC-command GOSUB. After finishing the subroutine the program continues after the last GOSUB executed.
The BASIC error message ?RETURN WITHOUT GOSUB ERROR IN line appears when a RETURN is executed without a prior GOSUB.
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
