Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] please help me from correcting this error that i am facing in mikroC image attached

Status
Not open for further replies.

Ralph Marime

Newbie level 3
Joined
May 30, 2015
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Location
Zimbabwe
Activity points
28
qqq.PNG i have attached a screen shot of the problem
 

You cannot have a empty while() loop. You need a condition for it to run like if you want the loop to run always then you have to use
Code:
while(1)

If you want to the loop to run based on some condition then you have to put the condition like

Code:
while(condition == true) {

}

eg:

Code:
while(i < 5) {

}
 

Re: plz help to rectify the error

you have an incomplete while(1) statement in line 61
it needs some condition, e.g.
Code:
  while(condition)
     {}
while condition is true (non zero) the statements {} will be executed
the while() terminates when condition is false
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top