Little problem right here with a if else loop

I started it looking at one from boost C and and one from 8051 they was about the same tho just port names they where for 3x4 keypad.
The thing I don't get is C is not basic all them {} ; get me lost LOL. Then Mplab X I can be doing good and bang a big error.

I figured that out tho what happens is you make a change compile and it not using the code that you changed there is some kind of bug If you use the history

And roll back code you'll find the problem
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…