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
is this possible?
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?