continue and break

Can someone explain 'continue' to me? I believe if you are in a loop and you hit a continue, it goes back to the top of the loop right?

And what would it do in a for and while loop?

The other question is about 'break.' I know it is a terminator inside a loop, but would it do anything different in a for or while loop?

thanks,
Heston
Yep, continue goes back to the top of any loop. No, these statements would not work differently in other loops. Break breaks out of any loop
Topic archived. No new replies allowed.