If i understand well the program flow in a while(true) statement, it goes until the end and then it comes back to the beginning.
What if i want is to come back after the first if() statement and to continue if it gets in the else().
Is this the case for goto() ?

What if i want it to come back after the first if() statement and that it continues it it gets in the else().

What do you mean? I think you made at least one typographical error that makes it difficult to understand what you mean. That said, I have the feeling that you are looking to use the continue keyword, or to re-structure the loop entirely.

Quote:

Originally Posted by Ducky

Is this the case for goto() ?

goto is not a function as it is a keyword.

04-20-2009

Ducky

Yes, im sorry for the typo.

What i meant is it to go back to the beginning of the while(true) loop if it enters the first if() statement and to continue if it enters else().