<i>Variable resolution behaviour and documentation</i> status still Open with 4 other changes
by
.
D 2005-08-03T23:59:26
J icomment Logged\sIn:\sYES\s\nuser_id=662619\n\nI've\sseen\sbug\s959052:\swhow!\n\n>\n>\sDo\syou\shave\sa\sconcrete\sproposal\sfor\s\n>\sthat\sexplanatory\ssentence?\s\n>\nI\sknew\syou\swere\sgoing\sto\sask\sthat\sone!\s\s:-)\n\nGiven\sthe\sfact\sthat\s[variable]\s"behaves\sproperly",\sI\sconcede\s\nthat\swriting\ssuch\sa\ssentence\sis\sdifficult.\n\nIn\sfact\sthe\scurrent\sbehaviour\sfor\svariables\sis\sconsistent\swith\s\nthe\sdocumentation:\sif\sthe\svariable\sdoes\snot\sexist\sin\sthe\s\ncurrent\snamespace,\sTcl\sscans\sthe\sglobal\snamespace:\sif\sit\s\ndoes\sexist\sthere,\sthen\sTcl\sresolves\sto\sthat.\sThe\sproblem,\sas\sI\s\nsee\sit,\sis\sthat\s[proc]\sbehaves\sdifferently:\n\n%\sproc\sx\s{}\s{puts\s"Proc\sin\s[namespace\scurrent]"}\n%\snamespace\seval\s::N\s{\sproc\sx\s{}\s{puts\s"Proc\sin\s[namespace\s\ncurrent]"}\s}\n\nThat\screates\sboth\s::x\sand\s::N::x\s!\n\nMay\swe\sadd\ssomething\slike\s"(except\sthat\s[proc]\swill\screate\sa\s\nnew\sprocedure\sin\sa\snamespace\sinstead\sof\soverwiting\san\s\nequally\snamed\sprocedure\sin\sthe\sglobal\snamespace)"\s\s?\n\nJuan\sCarlos---\n
J login oox
J mimetype text/plain
J username oox
K 1251123fffffffffffffffffffffffffffffffff
U oox
Z 9cd6f842c64728996a7778d9e7e9e534