Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.scripting.vbscript > #11953
| From | "R.Wieser" <address@not.available> |
|---|---|
| Newsgroups | microsoft.public.scripting.vbscript |
| Subject | Re: Is there a way to check the state of the error handler? |
| Date | 2018-05-19 11:23 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <pdoqe9$1aak$1@gioia.aioe.org> (permalink) |
| References | (5 earlier) <pdhj6l$1pka$1@gioia.aioe.org> <16hup5czgwt9h$.qrovq8sry17m.dlg@40tude.net> <pdn1uc$8mu$1@dont-email.me> <pdn592$uk0$1@gioia.aioe.org> <pdn8kf$ke5$1@dont-email.me> |
Mayayana, > It cancels On Error Resume Next, thus restoring > default behavior of stopping execution on errors. And thats, im(ns)ho the *only* thing it should do. For the reason I already mentioned. > It's only relevant to cancel On Error Resume Next, so > it wouldn't raise an error. I already asked you to explain that stance (in regard to 'raising an error' I mean). > "From here on, stop execution if there's an error." Thus, the > only logical way for it to work is to clear the error object. And I explained why its counter-productive (read: *not* logical). I also explained why (resetting the error object) it isn't even needed. Also, your "Thus" stinks. You are trying to combine apples and oranges there (the word itself implies a link between the two, but that linkage is not evident, nor have you tried to made it clear). While that might do when you want to drink some fruit juce, it doesn't have the same result when talking programming I'm afraid. >Why is this topic getting so complicated? Maybe > we're all just bored for lack of real topics to discuss. I do not think its complicated at all. But I do not see any of the reasons you think are evident, so I was-and-am asking you to supply some explanation to them. So I may understand why the clearing of the error object is neccesary, ore even the best way to go, when disabeling the error catching. > Personally I never use On Error GoTo 0 Than I sincerily hope you are not using "on error resume next" either. I myself am using both, tightly wrapped around a single command*/** so its failure can be detected and handled in-program (instead of aborting it). *with the error handling outside of the "next"-ing - so any errors in the error-handling will cause a hard error instead of being, for all intends and purposes, ignored. **Which is possibly the difference of POV we are experiencing. Regards, Rudy Wieser P.s If you do not wish to respond to my questions toward something you posted than please do say so. As in that case we are not conversing, and any more time spend on it would be wasted. Mind you, there is a possibility that clearing the error object on disabeling the error catching actually *is* the best way to go, and I would not mind *at all* to be made aware of it (yes, I'm weird that way). But upto now I have not heard you mention any(thing) that you could support with facts.
Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is there a way to check the state of the error handler? JJ <jj4public@vfemail.net> - 2018-05-15 13:04 +0700
Re: Is there a way to check the state of the error handler? "Auric__" <not.my.real@email.address> - 2018-05-15 06:55 +0000
Re: Is there a way to check the state of the error handler? JJ <jj4public@vfemail.net> - 2018-05-15 22:10 +0700
Re: Is there a way to check the state of the error handler? "Mayayana" <mayayana@invalid.nospam> - 2018-05-15 09:14 -0400
Re: Is there a way to check the state of the error handler? JJ <jj4public@vfemail.net> - 2018-05-15 22:22 +0700
Re: Is there a way to check the state of the error handler? "Mayayana" <mayayana@invalid.nospam> - 2018-05-15 11:53 -0400
Re: Is there a way to check the state of the error handler? "R.Wieser" <address@not.available> - 2018-05-15 17:26 +0200
Re: Is there a way to check the state of the error handler? JJ <jj4public@vfemail.net> - 2018-05-16 16:52 +0700
Re: Is there a way to check the state of the error handler? "R.Wieser" <address@not.available> - 2018-05-16 12:42 +0200
Re: Is there a way to check the state of the error handler? "Mayayana" <mayayana@invalid.nospam> - 2018-05-16 08:34 -0400
Re: Is there a way to check the state of the error handler? "R.Wieser" <address@not.available> - 2018-05-16 17:36 +0200
Re: Is there a way to check the state of the error handler? JJ <jj4public@vfemail.net> - 2018-05-19 00:03 +0700
Re: Is there a way to check the state of the error handler? "Mayayana" <mayayana@invalid.nospam> - 2018-05-18 13:18 -0400
Re: Is there a way to check the state of the error handler? "R.Wieser" <address@not.available> - 2018-05-18 20:15 +0200
Re: Is there a way to check the state of the error handler? "Mayayana" <mayayana@invalid.nospam> - 2018-05-18 15:12 -0400
Re: Is there a way to check the state of the error handler? "R.Wieser" <address@not.available> - 2018-05-19 11:23 +0200
Re: Is there a way to check the state of the error handler? "Mayayana" <mayayana@invalid.nospam> - 2018-05-19 10:28 -0400
Re: Is there a way to check the state of the error handler? "R.Wieser" <address@not.available> - 2018-05-19 22:19 +0200
Re: Is there a way to check the state of the error handler? "R.Wieser" <address@not.available> - 2018-05-18 20:06 +0200
Re: Is there a way to check the state of the error handler? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-18 23:27 +0200
Re: Is there a way to check the state of the error handler? "R.Wieser" <address@not.available> - 2018-05-19 12:15 +0200
Re: Is there a way to check the state of the error handler? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-19 21:30 +0200
Re: Is there a way to check the state of the error handler? "R.Wieser" <address@not.available> - 2018-05-19 22:21 +0200
Re: Is there a way to check the state of the error handler? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-19 22:32 +0200
Re: Is there a way to check the state of the error handler? "R.Wieser" <address@not.available> - 2018-05-20 11:06 +0200
Re: Is there a way to check the state of the error handler? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-20 12:09 +0200
csiph-web