View Full Version : VbScript
basic3572002
01-02-2003, 01:01 PM
i use goto label in VBScript it doesnt work. what code will i use to make goto label work.
Borgtex
01-02-2003, 02:29 PM
Wich part of "Use a descriptive title for your thread" didn't you understood? A lot of people already told you that it's annoying and you still happily ignore them.
Nobody will answer if you persist in your attitude :mad:
and - apart from the title - i don't understand the question....
Roelf
01-02-2003, 02:48 PM
Originally posted by Borgtex
Wich part of "Use a descriptive title for your thread" didn't you understood? A lot of people already told you that it's annoying and you still happily ignore them.
Nobody will answer if you persist in your attitude :mad:
all his posts are posted about the same time, so he probably read the first reply (WA's) after finishing all his posts, so the other ones were already made at that point. So he is not persistant in posting against the rules as you claim, WA has made the point, lets not repeat it too much.
For the question, i think he wants to use something like is possible in VB f.e.
Sub
On Error goto Errorhandler
' dangerous code here
Exit Sub
:Errorhandler
' correcting code here
End Sub
I dont know if that is possible in VBscript, but if amoderator can move this thread to the ASP forum, maybe an ASP/VBscript guru can answer it. Its not at the best place here in a JavaScript forum
Borgtex
01-02-2003, 04:46 PM
Originally posted by Roelf
all his posts are posted about the same time
:confused: Oh no!, just do a search for his posts and you will see that
12-03-2002 First post with the "vbscript" subject
12-22-2002 First post with "Js" subject
However, sorry if that's offtopic and I'm a bit rude; maybe I'm in a bad mood today
joeframbach
01-02-2003, 05:01 PM
basic, you really need to use effective titles in your threads. seriously.
Roelf
01-02-2003, 06:32 PM
Originally posted by Borgtex
:confused: Oh no!, just do a search for his posts and you will see that
12-03-2002 First post with the "vbscript" subject
12-22-2002 First post with "Js" subject
However, sorry if that's offtopic and I'm a bit rude; maybe I'm in a bad mood today
hehe, missed those threads, just noticed the ones posted today :D
whammy
01-02-2003, 11:32 PM
Hmm, you can call a function() or call another sub() within a sub...
...but you can't use GoTo in VBScript... I simply did a google search for "goto vbscript" and found an appropriate MSDN article (especially if you're trying error handling):
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdconhandlingerrorsvbscript.asp
basic3572002
01-06-2003, 11:30 AM
Sorry guys, Im busy when i wrote the message thread. I didn't read the rules. I was searching to other website at that time.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.