This is a one-dimensional loop. You can not confinue two dimensions here. The comment indicates you do not have the correct idea of what continue 2 does.