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..
What a load of bluster.
I'm just glad the person I asked recognised what I needed when I needed it. Sometimes there is no excuse, a simple question can be best dealt with by giving a simple, straightforward and direct answer. Obviously, you are too 'good' to believe that.