"break" statament in vb.net?

  • Thread starter Thread starter theath
  • Start date Start date
T

theath

hi, i'd like to do something like

while(x)
if(y) break
...
end while

what is the equivalent of java's break statement in vb.net? i don't
want to use a goto :)
 
Exit While for when you are in a while loop. Exit For when you are in a for
loop.

There is no equivalent to 'continue', unfortunately.
 
hi, i'd like to do something like

while(x)
if(y) break
...
end while

what is the equivalent of java's break statement in vb.net?

'Exit While'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top