This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A PROBLEM WITH while loop~~~

 
Jose Cisse
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


i am trying to creat a wile loop under fileloading... ...but there is a error message saying "private void enterrecord()" is illegal~~~
i dont think i did this loop in a right way... ...anyone teach me how do this right???~~~

MANY THX~~~
 
Keith Lynn
Ranch Hand
Posts: 2409
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Usually when you get an error like that it means that in the structure before it there is probably a missing brace. If you go through the previous method and check you may see that you had an opening brace without a closing brace or a closing brace without an opening brace.
 
Jose Cisse
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh~~~you are right~~~thanks~~~
[ March 22, 2006: Message edited by: Jose Cisse ]
 
Kj Reddy
Ranch Hand
Posts: 1704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do not use CAPS which represents you are shouting at some one.


What is your new problem? One problem I could see is your if else loop is wrong. else block should immediaately follow after if.
 
Jose Cisse
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by KJ Reddy:
Do not use CAPS which represents you are shouting at some one.


What is your new problem? One problem I could see is your if else loop is wrong. else block should immediaately follow after if.


oh, sorry, didnt mean shouting at people... ...

new problem?...oh~~~i just worked it out, thanks your help anyway~~~

many thx
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic