hey all,
I have a byte array with 16 indicies. Is there a way that I can create a new type from combining 2 of the indicies of the array together (which will create a WORD). The word only needs to be a pointer to the array.
So if i have
[code]
Byte byteA[16];
Word word = // byteA[4] + byteA[7];
[code]
So the variable "word" will have the higher byte stored in byteA[4] and the lower byte in byteA[7].
I hope I have explained this clearly enough
Thanks