|
-
Apr 1st, 2001, 02:51 PM
#1
Thread Starter
Lively Member
Is there a way to do something like this , suppose i am have finished executing a procedure in my module then i want to go to the last line of another procedure in my form. Is this possible?
-
Apr 1st, 2001, 03:19 PM
#2
Code:
Sub MySub(ByVal GotoLastLine As Boolean)
If GotoLastLine = True Then Goto LastLine
Print 1
Print 2
LastLine:
Print 3
End Sub
-
Apr 1st, 2001, 03:22 PM
#3
keep in mind that in the next version of vb the goto goes away.
You should put that last line in its own procedure if it needs to be used more than once.
-
Apr 2nd, 2001, 04:15 AM
#4
I checked this one for another question m'lord 
keep in mind that in the next version of vb the goto goes away.
VB7 still supports the goto, even though I read they wanted to take it out too.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|