Feb 15, 2014 at 10:26pm
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
Feb 15, 2014 at 10:34pm
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