Skip to content
Tcl Source Code Artifact [2174be3c9d]
Login

Artifact [2174be3c9d]

Artifact 2174be3c9d9e026ccd56ca0d26145754aa424d74:

Ticket change [2174be3c9d] - New ticket [916871ffffffffff|916871ffff] <i>[catch] docs should define `exceptional returns&#39;</i>. by eriklns on 2004-03-15 20:47:12.
D 2004-03-15T20:47:12
J assignee nobody
J cmimetype text/plain
J comment The\smanpage\sfor\s[catch]\smentions\sas\sthe\scases\sthat\sare\ntrapped:\n-\serrors\n-\sexceptional\sreturns\n\nAbout\sthe\slatter,\sit\sleaves\sfor\sthe\suser\sto\srefer\sto\n"tcl.h"\sto\slook\sup\sthe\scomplete\slist\sof\sreturn\scodes\nthat\sare\strapped,\swhile\sexplaining\ssome\sof\sthem\slater\nin\sthe\stext\s(break,\scontinue).\n\nThis\sleaves\smuch\sroom\sfor\smisinterpretation.\nI\sthink\sit\sis\sbetter\sto:\n-\sadequatel\sdefine\sthe\sterm\s`exceptional\sreturn'\n-\sexplicitly\smention\sall\sthe\sTcl\scommands\sand\ncorresponding\sreturn\scodes\sthat\sare\strapped\n\nA\sspecial\scases\sof\smisunderstanding\sis\sthe\s"normal\nreturn"\swhich\sin\sthis\scontext\sis\sconsidered\san\n"exceptional\sreturn"\sbecause\sit\sappears\sto\sbe\strapped:\n\nproc\scatchReturn\s{}\s{\n\s\s\s\sif\s{[catch\s{\n\s\s\s\s\s\s\s\sreturn\n\s\s\s\s}\serr]}\s{\n\s\s\s\sputs\s$err\n\s\s\s\s}\n}\ncatchReturn\n\n\nSincerely,\n\nErik\sLeunissen\n
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter eriklns
J subsystem None
J title [catch]\sdocs\sshould\sdefine\s`exceptional\sreturns'
J type Bug
K 916871ffffffffffffffffffffffffffffffffff
U eriklns
Z 2d022e845267a4fa682af157d4ff5364