i need to reset a number of values that were stored with the write command. Rather than go through a long write n,x sequence I thought the PTR and PTRINC would be the quick answer.
I have used BPTR often but not PTR. After many failures I tried this from manual 2 -
It fails syntax on the first line with "unknown symbol - ptr"
What am I missing, doing wrong, or totally misunderstanding ?
I have used BPTR often but not PTR. After many failures I tried this from manual 2 -
Code:
#picaxe20m2
ptr=1 ' reset scratchpad pointer to 1
for b1 = 1 to 5
sertxd (@ptrinc) ‘ re-transmit those 5 values
next b1
What am I missing, doing wrong, or totally misunderstanding ?
Last edited: