hello, i am using keil uvision 4.0 for my 8051 projects.i am getting an error whenever i use the pre defined word 'else' in my code. ex:
if(an1==1)
{
LED1=1;
LED2=1;
else //at this point//
LED1=0;
LED2=0; }
it shows an error C141. Can you please help me out..
"Nice not to get the 'teach a man a fish' crud."
Yeah, learning the language -- that's so lame.
We could fix your syntax errors faster if you publish your code to a public repository for us to directly edit.