Hi,
Let say I have a line of code,
case 1 : { x =2 ; continue;}
What does the "continue" command do?
Thx.
Hi,
Let say I have a line of code,
case 1 : { x =2 ; continue;}
What does the "continue" command do?
Thx.
continue statement is similar to break statement but only works in loops. So I assume there is a loop outsite your switch statement.
When continue is encountered, the program will go to the next iteration in the loop.