Skip to content
Tcl Source Code Artifact [f6392eb9a1]
Login

Artifact [f6392eb9a1]

Artifact f6392eb9a118c20426697f386b793481d95aeafb:

Ticket change [f6392eb9a1] - Ticket [219191ffffffffff|219191ffff] <i>return in after script causes bogus bgerror</i> status still Open with 4 other changes by dgp on 2000-11-14 04:53:50.
D 2000-11-14T04:53:50
J icomment I\sdisagree\sthat\s[return]\sshould\sthrow\san\serror\sat\nlevel\s#0.\s\sThat's\snot\swhat\sthe\sdocs\ssay.\s\sFrom\sreturn(n):\n...\nDESCRIPTION\n\s\s\s\s\sReturn\simmediately\sfrom\sthe\scurrent\sprocedure\s(or\s\stop-level\n\s\s\s\s\scommand\sor\ssource\scommand),\swith\sstring\sas\sthe\sreturn\svalue.\n...\n\n[return]\shas\sbehaved\sthis\sway\sat\sleast\sas\slong\sas\sI've\nused\sTcl\s(since\sTcl\s7.4),\sand\sI've\sseen\splenty\sof\scode\nthat\sdepends\son\sthis\sbehavior.\s\sNotably\sthe\suse\sof\n[return]\sto\sexit\sa\spkgIndex.tcl\sfile\sbefore\sthe\send\nof\sfile\sis\squite\suseful.\n\n
J login dgp
J mimetype text/plain
J username dgp
K 219191ffffffffffffffffffffffffffffffffff
U dgp
Z 1d7e62cfeb16d63a72c835ba8247f56d