Hi Esbjörn Rundberg,
First of all, a warm welcome to CodeRanch!
Esbjörn Rundberg wrote:Question 18 in the same chapter uses a continue with a label in an if statement and it appear to work. Am I missing something?
Yes, you are definitely missing something
Yhe
continue statement is inside a loop. Just remove both
for loops and see what happens...
Hope it helps!
Kind regards,
Roel