Specifications

Appendix C
Parallax, Inc. • BASIC Stamp Programming Manual 1.8 • Page 391
C
CONVERSION: BS1 Q BS2
1.Remove any ‘DEC?’ formatters preceding variables.
2.Replace all ‘DEC’ formatters with ‘#’.
3.Replace all ‘HEX?’ formatters with ‘$’.
4.Replace all ‘BIN?’ formatters with ‘%’.
5.Replace all ‘ASC?’ formatters with ‘@’.
6.Delete any ‘?’ formatting characters.
7.Signs, type indicators, strings and digit limitation formatters are
not available in the Stamp I. Manual formatting will have to be
done (possibly multiple DEBUG statements) to accomplish the
same formatting.
Example:
BS2: DEBUG DEC AByte, HEX? AWord, BIN? ANibble, CR
BS1: DEBUG #B0, $B1, %B2, CR