AAOAA
Junior Member level 2

Hello,
I would like to know is there a way to to return back to the last iteration of the for loop, after the break and continue from there, for ex.:
Thanks.
I would like to know is there a way to to return back to the last iteration of the for loop, after the break and continue from there, for ex.:
Code:
void loop()
{for (n ; n<10; n++)
if (n=5) {break;}}
//code lines
//code lines
//code lines
loop(); //should start from 6 ...
Thanks.
Last edited by a moderator: