- Local time
- Today, 02:20
- Joined
- Sep 12, 2006
- Messages
- 15,656
I can't offhand think of an example of this, but from time to time, I want to do something, and carryon whether or not I got a run time error - but I can't just use an onerrror resume next, because the error will need some action.
so I end with this sort of thing
is there an easier way to do this. would try .. .catch be a better way of managing this sort of thing? I have never really looked at try .. catch in detail.
so I end with this sort of thing
Code:
...
on error goto failed
execute process that might error
goto continuepoint
failed:
cleanup after error
resume continuepoint
continuepoint:
carry on
is there an easier way to do this. would try .. .catch be a better way of managing this sort of thing? I have never really looked at try .. catch in detail.