|
-
Mar 19th, 2000, 08:55 AM
#2
Addicted Member
somethingblah should be defined as
sub somethingblah()
...
...
...
end sub
the end here will end the sub. but if you want to end it somewhere in the code, you can use exit sub, eg:
sub somethingblah()
...
...
if bShouldWeGoOn = False then
exit sub
end if
...
...
end sub
i hope this is what you meant, because i'm not 100% sure what you were asking...
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
|