KeenR1214 Posted November 29, 2003 Posted November 29, 2003 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 Quote
KeenR1214 Posted November 29, 2003 Author Posted November 29, 2003 Never mind, just figured it out. Quote
Engine252 Posted November 29, 2003 Posted November 29, 2003 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 ;-) Quote
Moderators Robby Posted November 29, 2003 Moderators Posted November 29, 2003 Instead of Exit Sub you should structure your If statement properly. Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.