BASIC Tokens
#FILE: $RCSfile: bastoken.txt $
#DESC: List of the Dragon Color Basic tokens
#REV: $Revision: 1.1 $
#DATE: 16/03/94
#AUTHOR: Graham E.Kinns
#DISCLAIMER: All information provided as is etc.
#ARCHIVE: This file is part of the DRGNINFO collection of Dragon info files
#CONTACT: Comments, bugs, revisions, suggestions to Dragon@grempc.demon.co.uk
#HISTORY: 1.0 27/01/94 - Initial version
# 1.1 16/03/94 - Added RCS control, Token lists come from rom images
#RCSID: $Id: bastoken.txt 1.1 1994/03/16 22:40:30 G.E.Kinns Exp $
#XREF: basicfmt.txt - tokenised Basic format
# dostoken.txt - Dragon DOS tokens
# cocotokn.txt - CoCo Basic tokens
#SOURCE: Dragon Roms
#Reserved words
#Token Keyword
0x80 FOR
0x81 GO
0x82 REM
0x83 '
0x84 ELSE
0x85 IF
0x86 DATA
0x87 PRINT
0x88 ON
0x89 INPUT
0x8a END
0x8b NEXT
0x8c DIM
0x8d READ
0x8e LET
0x8f RUN
0x90 RESTORE
0x91 RETURN
0x92 STOP
0x93 POKE
0x94 CONT
0x95 LIST
0x96 CLEAR
0x97 NEW
0x98 DEF
0x99 CLOAD
0x9a CSAVE
0x9b OPEN
0x9c CLOSE
0x9d LLIST
0x9e SET
0x9f RESET
0xa0 CLS
0xa1 MOTOR
0xa2 SOUND
0xa3 AUDIO
0xa4 EXEC
0xa5 SKIPF
0xa6 DEL
0xa7 EDIT
0xa8 TRON
0xa9 TROFF
0xaa LINE
0xab PCLS
0xac PSET
0xad PRESET
0xae SCREEN
0xaf PCLEAR
0xb0 COLOR
0xb1 CIRCLE
0xb2 PAINT
0xb3 GET
0xb4 PUT
0xb5 DRAW
0xb6 PCOPY
0xb7 PMODE
0xb8 PLAY
0xb9 DLOAD
0xba RENUM
0xbb TAB(
0xbc TO
0xbd SUB
0xbe FN
0xbf THEN
0xc0 NOT
0xc1 STEP
0xc2 OFF
0xc3 +
0xc4 -
0xc5 *
0xc6 /
0xc7 ^
0xc8 AND
0xc9 OR
0xca >
0xcb =
0xcc <
0xcd USING
#Function tokens - all proceeded by 0xff to differentiate from operators
#Token Function
0x80 SGN
0x81 INT
0x82 ABS
0x83 POS
0x84 RND
0x85 SQR
0x86 LOG
0x87 EXP
0x88 SIN
0x89 COS
0x8a TAN
0x8b ATN
0x8c PEEK
0x8d LEN
0x8e STR$
0x8f VAL
0x90 ASC
0x91 CHR$
0x92 EOF
0x93 JOYSTK
0x94 FIX
0x95 HEX$
0x96 LEFT$
0x97 RIGHT$
0x98 MID$
0x99 POINT
0x9a INKEY$
0x9b MEM
0x9c VARPTR
0x9d INSTR
0x9e TIMER
0x9f PPOINT
0xa0 STRING$
0xa1 USR
Back to Index