Am I missing something? I'm having trouble with an array of bytes. I declare variable x as Dim x(10000) as byte in Process Globals. When running the program I eventually get a ArrayIndexOutOfBoundsExeption error with an index in x well below the size, say x(i), where i=1113. If I log(x.length) I get different sizes during the process and, of course! when x.length is less than the index (say 1113) the error occurs. Is x(10000) of variable size? How can I get it fixed size?