.
D 2001-12-05T20:56:52
J assignee msofer
J cmimetype text/plain
J comment Kudos\sto\sJoe\sEnglish\sfor\scatching\sthis\sone,\nand\sDonal\sFellows\sfor\sanalyzing\sthe\sright\nsolution.\n\nlist(n)\ssays:\n\s\s\s\s\slist\s?arg\sarg\s...?\n\nBraces\sand\sbackslashes\sget\sadded\sas\snecessary,...\nso\sthat\seval\smay\sbe\sused\sto\sexecute\sthe\sresulting\s\nlist,\swith\sarg1\scomprising\sthe\scommand's\sname\sand\nthe\sother\sargs\scomprising\sits\sarguments.\n\nHowever,\sin\san\sinteracive\stclsh:\n\n%\sproc\s#\s{}\s{puts\s!}\n%\sset\scmd\s[list\s#]\n#\n%\seval\s$cmd\n%\n\nA\spatch\sis\sattached\sthat\soffers\sone\sfix\swith\nchanges\sto\sTcl_{Scan|Convert}CountedElement.\nIt\sis\soverkill\sin\sthat\sit\squotes\sleading\s'#'\nin\sall\slist\selements\swhen\sit\sis\sonly\sneeded\nfor\sthe\sfirst\slist\selement,\sbut\sin\sthose\nroutines,\sthe\sordinal\sof\sthe\selement\sis\snot\nknown.\s\sPerhaps\san\sadditional\sflag\svalue\scould\nbe\sadded\sif\smore\ssophistication\sis\swanted,\slimiting\nthe\squoting\sto\sthe\sfirst\selement.\n\nTwo\spart.test\stests\swere\supdated,\sand\stests\nbased\son\sthe\sdemo\sabove\swas\sadded\sto\sutil.test.\n
J foundin obsolete:\s8.4a4
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 10.\sObjects
J title string\srep\sof\slist:\sshould\squote\s'#'
J type Support
K 489537ffffffffffffffffffffffffffffffffff
U dgp
Z e471d4059c3c7dfa0ddda2c4aa9d0982