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
"If" with capital letter?
Dear coding friends,
I didnt thought "C" programming was so strict grammar sensitive. Anyway, it worked , just replacing the capital "I" to if statement. All ok now ,
Thanks again all:)) Special thanks to Ulf Saß
I didnt thought "C" programming was so strict grammar sensitive.
You need to get a good book that provides an introduction to C. The fact that C is case-sensitive is usually mentioned near the very beginning of such books.
IF, If, iF and if are four completely different things to a C compiler.