venki konapla

problem with arrays in mpc5554 code warrior version 1.5

Discussion created by venki konapla on Jul 7, 2007
Latest reply on Apr 21, 2016 by john coleman
i put some values in an array at (initialisation)one location.When i am trying get array values at another location the first element of the array becomes sometimes zero and sometimes correct, other elements are ok.

when i am asigned the first element to some other varible(at initialisaton) ,when i read this variable i am getting correct value always.Indeed i have more array varible in my code but few arrays are behaving like this.some times all array elements make the please suggest me the solution...
i am using code warrior IDE for MPC5554 controller.
Do i need to modify compiler settings?
thanks in advance...