Following the above .......
The creation of arrays seems to be at fault.
unsigned char Array ........ should produce 6 locations 0 - 5
Array = '5'; should put '5' into array at location 5
a = Array; In this example 'a' will not be '5'
If the array is made larger say ... static char Array then Array works as it should and I assume Array is now faulty but I have not checked. The contents are constant, nott varying, and so are being read from somewhere.
IDE version: SourceBoost IDE version 7.30