Exit Select block?

BlitzMax Forums/BlitzMax Programming/Exit Select block?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Here's an ugly way of doing it. :)
a = 3
b = 2
Select a
Case 3
	Repeat 'Create a loop to exit from
		Print "before"
		If b = 2 Exit
		Print "after"
	Until 1 'Always exit the loop after one time through
End Select