How can I come back?
I want to execute a method during a while repetition statement, but it seems go to somewhere after I do it.
I hope I can continue do it within while statement, how to ?
thanks
while(condition)
{
...
setxy();//
// hope keep doing
}
publicvoid setxy(int xy)
{
this.xy=xy;
}
[658 byte] By [
ardmorea] at [2007-11-27 8:53:02]

I don't understand your question. If you call setxy in the while loop, execution will leave the while loop and enter the setxy method. When the setxy method finishes, execution will resume right after the setxy method. (You need to pass an int to the setxy method for it to compile)