Artifacts Associated With Ticket 916871ffffffffff
Ticket change [2174be3c9d] (rid 130585) by eriklns on 2004-03-15 20:47:12:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The manpage for [catch] mentions as the cases that are trapped: - errors - exceptional returns About the latter, it leaves for the user to refer to "tcl.h" to look up the complete list of return codes that are trapped, while explaining some of them later in the text (break, continue). This leaves much room for misinterpretation. I think it is better to: - adequatel define the term `exceptional return' - explicitly mention all the Tcl commands and corresponding return codes that are trapped A special cases of misunderstanding is the "normal return" which in this context is considered an "exceptional return" because it appears to be trapped: proc catchReturn {} { if {[catch { return } err]} { puts $err } } catchReturn Sincerely, Erik Leunissen - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "eriklns"
- subsystem initialized to: "None"
- title initialized to: "[catch] docs should define `exceptional returns'"
- type initialized to: "Bug"
Ticket change [fa984dc475] (rid 91903) by eriklns on 2004-03-16 04:20:08:
- closedate changed to: "2004-03-15T21:20:08"
- closer changed to: "eriklns"
- status changed to: "Deleted"