Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

How does one "skip" over lines of code in VB.NET?

 

Ex.

 

Private Sub Btn_click

If a = 1 than

Skip to end of this sub

end if

 

do this

do this

do this

but don't really because a = 1

so this is skipped

do this

do this

 

skip to here

End Sub

Posted

exit sub

 

if you got more questions just ask.

there's no such thing as stupid questions only stupid answers.

 

it's by giving the knowledge of good programmers the young new ones that greate software will be written in the future

;-)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...