One more stupid newbie question...

KeenR1214

Newcomer
Joined
Nov 28, 2003
Messages
4
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
 
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
;-)
 
Back
Top