how to abruptly end a Select case in while loop

muckv

New member
Joined
Oct 4, 2007
Messages
4
Programming Experience
Beginner
Hello guys

I have a select case in a while loop and at the last statement(case else) the case must end abruptly.

should be something like this

VB.NET:
Select Case strIngaveAntwoord.ToLower

                Case "j"

                    iuitslag = iuitslag + 1

                Case "n"
                    iuitslag = iuitslag - 1

                Case "o"

                    iuitslag = iuitslag

                Case Else

                    MessageBox.Show("Geen geldig antwoord", "fout antwoord")
this is the place where it is supposed to stop instead of going trough with the loop

            End Select

is this possible?
 
"Exit While" exits While loop.
 
Back
Top