This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

If statement do not work (?) Newbie Question

Dear friends,

I am writing a small code for an 89LPC935 and KEIL uVision3 + MCB900 board, and all goes good untill i try to enter the If .. else statement :((

Take a look and give me some tip if available >>>

If (Keyb_input == 0x0B); // Keyboard "Play" press
    {
        Debug++;         // Increment Debug register
        P2 = Debug;      // Debug keypad press to Port2
                                }

Notes:
(*) The Keyb_input is declared at the begining of the program as unsigned char data Keyb_input

(*) Error messages are >> missing function prototype requires ANSI-style prototype

0