problems with arrays

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

problems with arrays

Jump to solution
1,652 Views
mr_venkatarao
Contributor I
Hi,
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 problem....so please suggest me the solution...
i am using code warrior IDE for MPC5554 controller.
Do i need to modify compiler settings? 

thanking you.
regards,
venkatarao.k
0 Kudos
1 Solution
933 Views
Alban
Senior Contributor II
Hello,

Please would all members ask CodeWarrior questions in the appropriate CodeWarrior board.
Otherwise you will probably not get an answer. Specialists look at their area and cannot follow the many messages all boards receive daily.

Also DO NOT forget to mention the CodeWarrior Version and the Processor you are targetting in the MESSAGE SUBJECT LINE.

Thank you,
Alban.

View solution in original post

0 Kudos
1 Reply
934 Views
Alban
Senior Contributor II
Hello,

Please would all members ask CodeWarrior questions in the appropriate CodeWarrior board.
Otherwise you will probably not get an answer. Specialists look at their area and cannot follow the many messages all boards receive daily.

Also DO NOT forget to mention the CodeWarrior Version and the Processor you are targetting in the MESSAGE SUBJECT LINE.

Thank you,
Alban.
0 Kudos