Re: bug in 8.4.14 return -code error?
- From: Don Porter <dgp@xxxxxxxx>
- Date: Wed, 31 Jan 2007 15:07:12 -0500
Bryan Oakley wrote:
Hmmm. I guess I see the point, though it still seems non-intuitive. If catch catches "return -code error -errorcode foo", I would expect to be able to retrieve the errorcode I specified.
% package require Tcl 8.5
8.5a5
% catch {
return -code error -errorcode foo
} m o
2
% set o
-code 1 -level 1 -errorcode foo
--
| Don Porter Mathematical and Computational Sciences Division |
| donald.porter@xxxxxxxx Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|
.
- Follow-Ups:
- Re: bug in 8.4.14 return -code error?
- From: Bryan Oakley
- Re: bug in 8.4.14 return -code error?
- References:
- bug in 8.4.14 return -code error?
- From: Bryan Oakley
- Re: bug in 8.4.14 return -code error?
- From: Don Porter
- Re: bug in 8.4.14 return -code error?
- From: Bryan Oakley
- Re: bug in 8.4.14 return -code error?
- From: Andreas Leitgeb
- Re: bug in 8.4.14 return -code error?
- From: Bryan Oakley
- bug in 8.4.14 return -code error?
- Prev by Date: Re: configure tile treeview font
- Next by Date: Re: bug in 8.4.14 return -code error?
- Previous by thread: Re: bug in 8.4.14 return -code error?
- Next by thread: Re: bug in 8.4.14 return -code error?
- Index(es):
Relevant Pages
|