GO

From C64-Wiki
Jump to navigationJump to search
BASIC keyword
Keyword: GO
Abbreviation: none
Type: Command
Token code: 203/$CB
Handling routine
in BASIC ROM:
TBD
List of all BASIC keywords


The GO keyword does not make a complete statement by itself. It pairs with the TO keyword to form a synonym for GOTO, so you can type GO TO with a space.

In BASIC 7.0, it forms part of the GO64 statement, which switches the Commodore 128 to Commodore 64 mode. The number can be any numeric expression that evaluates to 64, and a space is permitted after the GO.

Examples[edit]

10 GO TO 50
GO64
GO 64
GO 8*8
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