Take a look at this:-
I'm expecting
but my results are:-
Why does the exit command auto complete the remaining loop increments and not entirely break out of the loop?
Graphics 640,480 Repeat Cls For Local column = 0 To 9 For Local row = 0 To 19 If row = 3 And column = 4 Then DrawText("row = "+row,0,0) DrawText("column = "+column,0,20) Exit EndIf Next Next DrawText("row = "+row,0,40) DrawText("column = "+column,0,60) Flip FlushMem Until KeyDown(1)
I'm expecting
row = 3 column = 4 row = 3 column = 4
but my results are:-
row = 3 column = 4 row = 10 column = 20
Why does the exit command auto complete the remaining loop increments and not entirely break out of the loop?