BASIC tokens

From Ninerpedia
Revision as of 19:20, 28 March 2015 by Mizapf (talk | contribs) (Created page with "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 Exte...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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