Specifications
Appendix C
Parallax, Inc. • BASIC Stamp Programming Manual 1.8 • Page 393
C
Example:
BS1: EEPROM 100, (255, 128, 64, 92)
BS2: DATA @100, 255, 128, 64, 92
CONVERSION: BS1 Q BS2
1.If a POINTER constant is specified, remove it and set it equal to
the value of the first location using a Stamp I assign statement.
2.Replace the DATA directive with the EEPROM directive.
3.If LOCATION is specified, remove the at sign, ‘@’, immediately
before it.
4.If the WORD directive is given, remove it and convert the data
element immediately following it, if one exists, into two bytes of
low-byte, high-byte format. If no data element exists immediately
following the WORD directive, (the (SIZE) directive must exist)
insert zero data element pairs, ‘0, 0,’ for the number of elements
given in (SIZE).
5.Add an open parenthesis, ‘(‘, just before the first data element and
a close parenthesis, ‘)’, after the last data element.
6.If the (SIZE) directive is given, remove it and copy the preceding
data element, if available, into the number of SIZE data elements.
If data was not given, insert SIZE data elements of zero, ‘0’, sepa-
rated by commas.
Example:
BS2: MyDataPtr DATA @100, 255, 128(2), 64, WORD 920, (10)
BS1: SYMBOL MyDataPtr = 100
EEPROM MyDataPtr, (255, 128, 128, 64, 152, 3, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0)










