if ByteCnt=2 how many times will it run through this for/next loop ?



FOR GP=0 to ByteCnt ' Clear array bytes 0 to ByteCnt
BytesIn[GP]=0
NEXT



when you set BytesIn[2] to 0 what var do you think will get clobbered


its not a Strange Variable Issue ... its a write to an out of bounds array index