.
D 2000-10-26T01:08:40
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s3329\sBug\nVersion:\s8.2\nSubmitDate:\s'1999-11-05'\nLastModified:\s'2000-01-19'\nSeverity:\sMED\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sAll\nFixedDate:\s'2000-01-19'\nFixedInVersion:\s8.3\nClosedDate:\s'2000-10-25'\n\n\nName:\nkeith\slea\n\nReproducibleScript:\nnamespace\seval\sf\s{\n\s\s\s\s\s\s\s\sproc\sunwait\s{}\s{\n\s\s\s\s\s\s\s\s\s\s\s\svariable\stest\n\s\s\s\s\n\s\s\s\s\s\s\s\s\s\s\s\sputs\s"unwaiting"\n\s\s\s\s\s\s\s\s\s\s\s\sset\stest\s1\n\s\s\s\s\s\s\s\s\s\s\s\sputs\s"unwaited"\n\s\s\s\s\s\s\s\s}\n\s\s\s\s\n\s\s\s\s\s\s\s\sproc\swait\s{}\s{\n\s\s\s\s\s\s\s\s\s\s\s\svariable\stest\n\s\s\s\s\n\s\s\s\s\s\s\s\s\s\s\s\sputs\s"waiting"\n\s\s\s\s\s\s\s\s\s\s\s\svwait\stest\n\s\s\s\s\s\s\s\s\s\s\s\sputs\s"waited"\n\s\s\s\s\s\s\s\s}\n\s\s\s\s\n\s\s\s\s\s\s\s\sproc\sprint\s{}\s{\n\s\s\s\s\s\s\s\s\s\s\s\svariable\stest\n\s\s\s\s\n\s\s\s\s\s\s\s\s\s\s\s\sputs\s$test\n\s\s\s\s\s\s\s\s}\n\s\s\s\s}\n\s\s\s\s\n\s\s\s\safter\sidle\sf::wait\n\s\s\s\safter\sidle\sf::unwait\n\s\s\s\sreturn\n\nObservedBehavior:\ntest.tcl\sis\sthe\sincluded\sscript..\n\s\s\s\s\n\s\s\s\s%\ssource\stest.tcl\n\s\s\s\swaiting\n\s\s\s\sunwaiting\n\s\s\s\sunwaited\n\s\s\s\s%\sf::print\n\s\s\s\s1\n\s\s\s\s%\s\n\s\s\s\s\n\s\s\s\sin\sother\swords,\sthe\s[vwait]\sinside\sthe\s[f::wait]\sprocedure\snever\n\s\s\s\sreturns,\seven\sthough\s$f::test\sis\sset\s(as\sthe\s[f::print]\scall\sstates)\n\nDesiredBehavior:\nthe\svwait\sshould\swork\swith\snamespace\svariables\slinked\sto\slocal\svariables\n\s\s\s\sinside\sprocs\susing\s[variable]\n\s\s\s\s\n\s\s\s\sif\sI\sedit\sthe\s[vwait]\sto\ssay\s[vwait\sf::test]\sit\sworks.\sthere\sis\snothing\n\s\s\s\sin\sthe\sdocumentation\sstating\sthat\svwait\swaits\sfor\svariables\son\slevel\s#0.\n\s\s\s\sdoes\sit?\n\n\n\nThis\sis\sa\sdocumentation\sfailure\s(the\svwait\sdocs\shaven't\schanged\nsince\s7.5,\sand\snamespaces\swere\sadded\sin\s8.0).\s\svwait\sdoes\srequire\na\sglobally\sscoped\svariable.\s\sThe\sreason\sfor\sthis\sis\sthat\swe\swant\nto\sensure\sthat\sthe\suser\sdoes\snot\sprovide\sus\sa\slocal\svar\s(that\ncould\snever\sget\sset\sagain).\s\sThe\sdocs\shave\sbeen\supdated\sfor\s8.3.\s\n--\s01/19/2000\shobbs
J foundin obsolete:\s8.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 07.\sVariables
J title [vwait]\sand\s[variable]\sdon't\slike\seach\sother
J type Bug
K 218962ffffffffffffffffffffffffffffffffff
U nobody
Z 9882cf8eeb1c2a8d533a9a4f409e45d0