All-

How can I terminate the running of a program from within an iteration, but not leave the program?

EG, In this code:

IO.foreach("control.txt") { |x|
	field = x.chop.split("\t", -1)
	<Do stuff "A" here.>
	<If some condition is met, leave this iteration BEFORE the end of control.txt file occurs and continue with stuff B>
}
<Do stuff "B" here.>
...
...
...
end


Thanks for your comments (and to those who assisted recently with the abort command).

-Kurt