Hi guys,

I have a problem that I am stuck at for hours. Here is some of my code:

temparray var word[3]
temparray.lowbyte[0]=%11100011
temparray.highbyte[0]=%00011100
lcdout $fe,$cf,"reis: ",ibin16 temparray[0]
pause 10000


The above works great, on my LCD I get 0001110011100011
but then, as my code progresses,

temparray.lowbyte[1] =%01010101
temparray.highbyte[1]=%11111111
lcdout $fe,$cf,"done: ",ibin16 temparray[0]


Now when my LCD changes, it displays 0101010111100011
My question is why does highbyte in array [0] get overwritten with the lowbyte from array[1]. I was expecting to get the first answer since I only changed temparray[1].

Can somebody please explain why this happened?