.
D 2007-09-05T20:58:23
J assignee msofer
J cmimetype text/plain
J comment \n"For\sexample,\ssuppose\sthe\scommand\nset\sscript\s[namespace\scode\s{foo\sbar}]\nis\sinvoked\sin\snamespace\s::a::b.\nThen\seval\s"$script\sx\sy"\ncan\sbe\sexecuted\sin\sany\snamespace\s(assuming\sthe\svalue\sof\nscript\shas\sbeen\spassed\sin\sproperly)\nand\swill\shave\sthe\ssame\seffect\sas\sthe\scommand\n::namespace\seval\s::a::b\s{foo\sbar\sx\sy}."\n\nFor\sliteral\svalues\slike\s"x"\sand\s"y"\sthis\nadvice\sis\sfine,\sbut\sfor\sa\svalue\scontaining\nsubstitution\scharacters,\sthis\sdoesn't\swork.\nIn\sorder\sto\sprevent\sthe\ssubstitution\sfrom\nhappening,\sthe\s"..."\squoting\shas\sto\sbe\srejected\nas\sthe\sscript\sbuilding\stool.\s\sThis\sleaves\nus\swith\sthe\ssafer\s[list]-based\sbuilding\sschemes.\n\neval\s$script\s[list\sx\sy]\n\nor\n\neval\s[linsert\s$script\send\sx\sy]\n\nare\smore\sgenerally\scorrect\ssolutions.\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 21.\s[namespace]
J title [namespace\scode]\sdoc\simprovement\s
J type Bug
K 1788984fffffffffffffffffffffffffffffffff
U dgp
Z 390bf98a36dd3dcdaecab746260dff25