Z
zSplash
I have a sub (test1) with a goto label (gotHere). If I call that sub from
another sub, is there any way to call that sub, and go directly to the
label? Like, in the following example, if I want to be at the "gotHere"
label in test1, when I call test1 from test2, how would I do that?
sub test1
dim X as integer
"blah, blah, blah code"
If x =3 then
goto gotHere
endif
"blah, blah, blah code"
gotHere:
msgbox "Got it"
end sub
sub test2
test1 ... [...at gotHere location in test1...]
end sub
TIA
another sub, is there any way to call that sub, and go directly to the
label? Like, in the following example, if I want to be at the "gotHere"
label in test1, when I call test1 from test2, how would I do that?
sub test1
dim X as integer
"blah, blah, blah code"
If x =3 then
goto gotHere
endif
"blah, blah, blah code"
gotHere:
msgbox "Got it"
end sub
sub test2
test1 ... [...at gotHere location in test1...]
end sub
TIA