BASIC tokens

From Ninerpedia
Revision as of 19:26, 28 March 2015 by Mizapf (talk | contribs)
Jump to navigation Jump to search

This is the table of BASIC tokens, sorted by token value. The rightmost column tells whether the command or character appears in all versions of BASIC or only in TI BASIC or Extended BASIC, respectively.

Immediate commands

These commands cannot be used in programs.

Command Token (hex) BASIC version
NEW 00 all
CON(TINUE) 01 all
LIST 02 all
BYE 03 all
NUM(BER) 04 all
OLD 05 all
RES(EQUENCE) 06 all
SAVE 07 all
MERGE 08 Extended BASIC
EDIT 09 TI BASIC

Standard commands and special characters

These commands and characters are typically used in a program; some of them can also be used in a command line (immediately).

Command Token (hex) BASIC version
ELSE 81 all
:: 82 Extended BASIC
! 83 Extended BASIC
IF 84 all
GO 85 all
GOTO 86 all
GOSUB 87 all
RETURN 88 all
DEF 89 all
DIM 8a all
END 8b all
FOR 8c all
LET 8d all
BREAK 8e all
UNBREAK 8f all
TRACE 90 all
UNTRACE 91 all
INPUT 92 all
DATA 93 all
RESTORE 94 all
RANDOMIZE 95 all
NEXT 96 all
READ 97 all
STOP 98 all
DELETE 99 all
REM 9a all
ON 9b all
PRINT 9c all
CALL 9d all
OPTION 9e all
OPEN 9f all
CLOSE a0 all