BASIC stamp manual v2.2
Appendix B: Reserved Words
BASIC Stamp Syntax and Reference Manual 2.2 • www.parallax.com • Page 473
Reserved Words
This appendix contains complete listings of the reserved words for
PBASIC 1.0, PBASIC 2.0, and PBASIC 2.5, current with the BASIC Stamp
Editor v2.1.
The reserved word lists have been organized into 4 tables, because it
varies with each BASIC Stamp model and version of PBASIC. Table B.1
shows the reserved words for the BASIC Stamp 1, using the required
PBASIC 1.0.
Table B.1: BS1 Reserved Words.
BS1
AND GOSUB N2400 PIN0..PIN7 SOUND
B0..B13 GOTO NAP PINS STEP
BIT0..BIT15 HIGH NEXT PORT SYMBOL
BRANCH IF ON300 POT T300
BSAVE INPUT ON600 PULSIN T600
BUTTON LET ON1200 PULSOUT T1200
CLS LOOKDOWN ON2400 PWM T2400
CR LOOKUP OR RANDOM THEN
DEBUG LOW OT300 READ TO
DIR0..DIR7 MAX OT600 RETURN TOGGLE
DIRS MIN OT1200 REVERSE W0..W6
EEPROM N300 OT2400 SERIN WRITE
END N600 OUTPUT SEROUT
FOR N1200 PAUSE SLEEP
Table B.2 on the following page lists the reserved words common to all
BS2 models, including those for PBASIC 2.0 and PBASIC 2.5. Words listed
that are only reserved when using PBASIC 2.5 are marked with (
2.5
).