• Post Reply Bookmark Topic Watch Topic
  • New Topic

Syntax Error insert while (Expression) to complete DoStatement  RSS feed

 
Saad Zahoor
Ranch Hand
Posts: 82
Android
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question : Don't know what i am doing wrong
Error : Syntax Error insert while (Expression) to complete DoStatement ..

 
fred rosenberger
lowercase baba
Bartender
Posts: 12563
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see anything wrong with that code...My guess is you've got a stray brace somewhere that is confusing the parser.
 
Saad Zahoor
Ranch Hand
Posts: 82
Android
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question : again again the error .. This is the code


 
fred rosenberger
lowercase baba
Bartender
Posts: 12563
49
Chrome Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so, you're missing a brace. 

This is why you should compile more often than you have been.  You shouldn't get this far before you discover a missing brace. 

look at the loop starting on line 39 and that code.
 
Saad Zahoor
Ranch Hand
Posts: 82
Android
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Appreciate Your Help !! Thanks mate
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!