Bad programming style

Blitz3D Forums/Blitz3D Programming/Bad programming style

No, I would have marked the above example as wrong. One should not return/exit/branch from within a loop. Except where you jump back in. I'm not at home so I can't test this but;

Function TheFunk()

For X=1 to 10
For Y=1 to 10
Goto GoneGoto
BRAHERE:
Next
Next

Return

GoneGoto:
Goto BRAHERE

End Function