Your arrays are declared as 'var byte[16]'
That means a valid array index is from 0-15Code:topline var byte [16] botline var byte [16]
This code here will fail when x=15
Z will try and access botline[x+1] = botline[16], which is invalidCode:if X<=15 then Y=(botline[x]-48)*8 Z=(botline[x+1]-48)*8 'READ INTO VARIABLE AS TWINS




Bookmarks