Overview
| Artifact ID: | bd8459b1a1a6c738335be48d10b2c1848e0bd75a |
|---|---|
| Ticket: | 219268ffffffffffffffffffffffffffffffffff
Catching errors at [vwait] instead of [bgerror] |
| User & Date: | dkf on 2000-11-19 18:09:15 |
Changes
- foundin changed to: "obsolete: 8.4a3"
- icomment:
I'm in two minds about this; though it is functionality which is useful in some situations, it also disturbs the currently defined behaviour of errors that occur in an event. But I suppose that's the whole point! :^) One way of doing it might be to make vwait take an optional extra argument (after the name of the global variable) that specifies an alternate error handler to use in place of bgerror for the duration of the wait (so you could avoid the expense of renaming commands all over the place.) Or maybe do it like this (using slightly more acceptable syntax): vwait -errorhandler someProcedure someGlobalVariable The only complication comes when you have loads of nested vwaits, but that is a situation that is pretty nasty anyway even without wanting to do several different error handlers... - login: "dkf"
- mimetype: "text/plain"
- priority changed to: "4"
- subsystem changed to: "81. Bundled Packages"
- username: "dkf"