problem with continue
I am getting confused in the usage of 'continue'. If anyone can explain it with an example
continue is used to go back to the start of the loop and run again. In a for loop this would apply your loops increment.
e.g
1 2 3 4 5 6
|
while (true) {
if (skipThisTime)
continue;
// Do Some Stuff
}
|
Thanks for the help
With Regards,
Matanuragi
Topic archived. No new replies allowed.