Somewhere between the i
label on line 3 and the goto
command, you need to add code that will break out of the loop—likely an if
statement with another goto
inside it that points to a label after your current goto
.
You can see plenty of examples here: https://stackoverflow.com/a/4711984/436282