Matt Gerrans
Posts: 1153
Nickname: matt
Registered: Feb, 2002
|
|
Re: do while
|
Posted: Nov 17, 2002 12:15 AM
|
|
What are you trying to accomplish in this while statement? It helps a lot when you have a method name (as well as variable names, etc.) that means something, unlike "work".
In any case, I suspect that what you've coded doesn't do what you intend; it won't compile because you have one block of code starting after the do and then another separate block ending with a while.
Also, it is nice if you use the java tag when posting code; look at the Formatting Your Post box on the right, when you are posting.
|
|