: <i>"catch" doesn't catch "expr" syntax errors</i> plus 8 other changes
by
.
D 2000-11-09T02:55:44
J assignee dgp
J closedate 2000-11-08T19:55:44
J closer dgp
J icomment According\sto\sthe\srelease\snotes\saccompanying\sTcl\s8.0,\nthis\sis\snot\sa\sbug,\sbut\sa\sknown\sincompatibility\swith\nTcl\s7\sintroduced\sby\sthe\sbytecode\scompiler.\s\sPoint\s2\non\spage\n\nhttp://dev.scriptics.com/doc/compiler.html\n\nreads:\n...\n2.Catch\sno\slonger\scatches\scompilation\serrors\s\n\n\s\s\s\sOne\sconsequence\sof\sthe\sfact\sthat\sin\sTcl\s8.0\scompilation\serrors\sin\sscripts\sare\sreturned\simmediately\sis\sthat\n\s\s\s\scatch\sno\slonger\sprevents\scompilation\serrors\sfrom\saborting\scommand\sinterpretation.\sFor\sexample,\s\n\n\s\s\s\scatch\s{set}\s\n\n\s\s\s\simmediately\sreports\sthe\serror\s\n\n\s\s\s\swrong\s#\sargs:\sshould\sbe\s"set\svarName\s?newValue?"\s\n\n\s\s\s\sTo\shave\scatch\shandle\scompile\stime\serrors,\sgive\sit\sa\sscript\sthat\sis\sonly\sdetermined\sat\sruntime:\sfor\sexample,\s\n\n\s\s\s\scatch\s[concat\s{set}]\s\n...\n\nPerhaps\sthis\sincompatibility\swasn't\sa\sgood\sidea,\sbut\sit's\nknown\sand\sdocumented,\sso\sit's\snot\sa\sbug.\s\sI'm\smarking\sthis\nInvalid\sand\sClosing\sit.\s\sIf\syou\swant\sthis\schanged,\sfile\sa\sTIP.\n
J login dgp
J mimetype text/plain
J resolution Invalid
J status Closed
J username dgp
K 219150ffffffffffffffffffffffffffffffffff
U dgp
Z a5bfdde5f15c74f7cd04cfcdeabc53be