BASIC stamp manual v2.2

2: Quick Start Guide
BASIC Stamp Syntax and Reference Manual 2.2 www.parallax.com Page 33
6) Type the line DEBUG “Hello World!” below the compiler directives:
' {$STAMP BS2}
' {$PBASIC 2.5}
DEBUG "Hello World!"
7) Download this program into the BASIC Stamp. You may select Run
Run from the menu bar, press CTRL-R from the keyboard, or click
on the Run icon on the toolbar.
Figure 2.5: To run your program,
you may use the task bar menu or
the Run icon.
Selecting Run Run Using the Run toolbar icon
a) If the program is typed correctly, a progress bar window should
appear (perhaps very briefly) showing the download progress.
Then a Debug Terminal window should appear and display
"Hello World!"
Figure 2.6: Debug Terminal
displaying program output
b) If there is a syntax error in the program, the editor will highlight
the text in question and display an error message. Review the
error, fix the code and then try downloading again.