Hmm I've changed the line as follows
And it works as expected ... Thank you for your answer Richard ..FOR GP=0 to ByteCnt-1 ' Clear array bytes 0 to ByteCnt
BytesIn[GP]=0
NEXT
Now can you explain what happens when it tries to clear a nonexisting variable ? It clobbers my DAT variable next as it should not , yet somehow it does .. ?
I think there is something happening on the background that is out of my knowledge ..
Bookmarks