Problem with DATA command
Hello stampers,
while using the DATA command I ran into next problem:
(I'm using a BS2P40)
I put a bunch of text data into slot 1 using (sorry the labels and remarques
are in Dutch)
*********************************************
tekst1 data " Tekstblok 1 "
data "01234567890123456789"
data "01234567890123456789"
data "01234567890123456789"
tekst2 data " Tekstblok 2 "
data "01234567890123456789"
data "01234567890123456789"
data "01234567890123456789"
8<
>8
tekst25 data " Tekstblok 25 "
data "01234567890123456789"
data "01234567890123456789"
data "01234567890123456789"
**********************************************
This makes 2000 bytes of data, I want to use 40 byte blocks as templates to
fill a 4*20 LCD, I know I waste a lot of space this way but I don't need it
for code so.....
In the main routine in slot 0 I put:
**********************************************
store 1
tekstplaats=tekst2 'get the data starting at "tekst2", here occures the
error
gosub tekstweergeven
pause 5000
stop
***********************************************
tekstweergeven:
for tekstteller=tekstplaats to tekstplaats+40 'read 40 bytes of
data
read tekstteller,tekst
debug tekst
next
return
***********************************************
I get an "undefined symbol" error during tokenizing at the
"tekstplaats=tekst2" line, it seems that the constant "tekst2" that is
assigned at the data line in slot1 isn't recognised as a constant in slot0
All the other variables are properly declared, I don't get any other errors
Anybody an idee????
Thanks,
Michel,
Met vriendelijke groetjes,
> ************************************************
> Michel De Meester
> Biotechnisch Onderhoud
> Universitair Ziekenhuis Antwerpen
> Wilrijkstraat 10
> 2650 Edegem - B
> tel: ++32 (0)3 821 36 47
> e-mail: michel.de.meester@u...
>
> *************************************************
>
>
while using the DATA command I ran into next problem:
(I'm using a BS2P40)
I put a bunch of text data into slot 1 using (sorry the labels and remarques
are in Dutch)
*********************************************
tekst1 data " Tekstblok 1 "
data "01234567890123456789"
data "01234567890123456789"
data "01234567890123456789"
tekst2 data " Tekstblok 2 "
data "01234567890123456789"
data "01234567890123456789"
data "01234567890123456789"
8<
>8
tekst25 data " Tekstblok 25 "
data "01234567890123456789"
data "01234567890123456789"
data "01234567890123456789"
**********************************************
This makes 2000 bytes of data, I want to use 40 byte blocks as templates to
fill a 4*20 LCD, I know I waste a lot of space this way but I don't need it
for code so.....
In the main routine in slot 0 I put:
**********************************************
store 1
tekstplaats=tekst2 'get the data starting at "tekst2", here occures the
error
gosub tekstweergeven
pause 5000
stop
***********************************************
tekstweergeven:
for tekstteller=tekstplaats to tekstplaats+40 'read 40 bytes of
data
read tekstteller,tekst
debug tekst
next
return
***********************************************
I get an "undefined symbol" error during tokenizing at the
"tekstplaats=tekst2" line, it seems that the constant "tekst2" that is
assigned at the data line in slot1 isn't recognised as a constant in slot0
All the other variables are properly declared, I don't get any other errors
Anybody an idee????
Thanks,
Michel,
Met vriendelijke groetjes,
> ************************************************
> Michel De Meester
> Biotechnisch Onderhoud
> Universitair Ziekenhuis Antwerpen
> Wilrijkstraat 10
> 2650 Edegem - B
> tel: ++32 (0)3 821 36 47
> e-mail: michel.de.meester@u...
>
> *************************************************
>
>