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

c141 error in uV 4.0

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..

Parents Reply Children
No data