Skip to content
Tcl Source Code Artifact [86939861b7]
Login

Artifact [86939861b7]

Artifact 86939861b77072908a5f878eed25c7295df7f3f5:

Ticket change [86939861b7] - Ticket [2974744fffffffff|2974744fff] <i>share exception codes (ObjType?)</i> status still Open with 4 other changes by nijtmans on 2010-03-31 13:46:40.
D 2010-03-31T13:46:40
J icomment Thinking\smore\sabout\sit:\sI\sagree\swith\sDonal,\nand\sI\srecommend\sto\skeep\sit\sas\sis.\sBecause:\n-\sTcl\scurrently\smainly\saccepts\sabbreviations\sin\stwo\scases:\n\s\s\s\s\s\s-\soption\sarguments\sstarting\swith\s"-"\n\s\s\s\s\s\s-\scommands\sand\sensemble\ssubcommand,\n\s\s\s\s\s\s\s\swhen\sin\sinteractive\smode\n-\sIf\sit\swas\sintended\sthat\stry\saccepts\sabbeviations,\sthere\n\s\sshould\shave\sbeen\sa\stest\scase\sfor\sit.\n-\sAbbeviations\sonly\scause\strouble\swhen\snew\sreturn\svalues\n\s\sare\sadded:\sa\snew\s"error2"\scode\swhould\sstart\sbreaking\n\s\sSchelte\sBron's\scode\sas\swell.\n-\sTIP\s#329\smentiones:\nThe\son\shandler\sallows\sexact\smatching\sagainst\sthe\sexceptional\sreturn\scode\s(the\sinteger\svalue\sthat\swould\sbe\sreturned\sby\scatch).\sThe\scode\smay\sbe\sgiven\sas\san\sinteger\sor\sone\sof\sthe\smagic\skeywords\sok\s(0),\serror\s(1),\sreturn\s(2),\sbreak\s(3),\scontinue\s(4).\n\s\sit\sdoesn't\smention\sthe\spossibility\sof\sabbreviations.\n-\sError\scodes\sare\sshort,\sso\sI\sdon't\ssee\smuch\sadded\n\s\svalue\sin\sallowing\sabbreviations.\n\nThings\sto\sdo:\n-\shave\sa\slook\sat\sthe\scurrent\stry\sdocumentation.\n-\sadd\stest\scase\sfor\s[try],\sshowing\sthat\suse\sof\n\s\sabbreviations\sresult\sin\san\serror.\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 2974744fffffffffffffffffffffffffffffffff
U nijtmans
Z 493cda0c2d2ee4a48f4d02c83e20a5f2