: <i>Possible parsing problem. "list" command inccorectly assigns</i> plus 9 other changes
by
.
D 2004-10-19T20:45:08
J closedate 2004-10-19T13:45:08
J closer dkf
J foundin final:\s8.3.5
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nThese\sare\sall\snot\sbugs;\sjust\sfunny\s(and\sinefficient)\sways\sto\nconstruct\slists.\n\nTcl,\sby\sdefinition,\sconcatenates\slists\sand\scharacters\sby\nconverting\sthe\slist\sto\sa\sstring\sand\sconcatenating\sstrings.\nThen\sthe\sjoin\scommand\s(or\sany\sother\slist-consuming\scommand)\nreinterprets\sthe\sresulting\sstring\sas\sa\slist\sagain.\s\sOf\sthe\ncharacters\syou\slist\s("[",\s",",\s".",\s"{",\s"}",\s")",\s"\\"),\sall\nexcept\sthe\s{curly\sbraces}\sand\sbackslash\shave\sno\smeaning\sto\nthe\slist\sparsing\sengine\sat\sall.\sWhen\sa\scurly\sbrace\sstarts\sa\nword\sin\sa\slist,\sthat\sword\sextends\sup\sto\sthe\smatching\sclosing\ncurly\s(which\smust\snot\shave\sany\strailing\schars)\sbut\sthat\sis\nthe\sonly\stime\sthey\sare\ssignificant.\sBackslashes\sare\sspecial\nin\sfront\sof\ssome\scharacters,\sbut\syou\shave\sto\sdistinguish\nbetween\squoting\sthem\sto\sthe\scommand\syou're\styping\sin\sand\sthe\nactual\slist\sengine.\n\nTo\ssummarize,\swhat\syou've\swritten\sis\sall\scorrect\sand\nintended\s(if\sperhaps\ssurprising\sthe\sfirst\stime\syou\sencounter\nit.)\n
J login dkf
J mimetype text/plain
J resolution Invalid
J status Closed
J subsystem 14.\sList\sObject
J username dkf
K 1047097fffffffffffffffffffffffffffffffff
U dkf
Z c570442ce187fdb2657b9634df459000