Skip to content
Tcl Source Code Artifact [e07f0a194c]
Login

Artifact [e07f0a194c]

Artifact e07f0a194ceed6ef1130beb8d87b569a9280f8c0:

Ticket change [e07f0a194c] - New ticket [218146ffffffffff|218146ffff] <i>the &quot;variable&quot; command doesn&#39;t always initialize properly.</i>. by nobody on 2000-10-26 00:53:44.
D 2000-10-26T00:53:44
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2122\sBug\nVersion:\s8.1\nSubmitDate:\s'1999-05-24'\nLastModified:\s'1999-08-08'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\spat\nChangedBy:\shobbs\nOS:\sWindows\s95\nOSVersion:\s8.1\sand\s8.0.4\nMachine:\sX86\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-08-08'\n\n\nName:\nJohn\sBaxter\n\nReproducibleScript:\nThe\sfollowing\sare\scommands\styped\sin\swish\sand\sthe\sresponses\s(on\sWindows\n\s\s\s\s95).\n\s\s\s\s\n\s\s\s\s%\svariable\sx\s""\n\s\s\s\s%\sputs\s$x\n\s\s\s\s\n\s\s\s\s%\svariable\sy\s"a"\n\s\s\s\s%\sputs\s$y\n\s\s\s\sa\n\s\s\s\s%\snamespace\seval\sfoo\svariable\sz\s""\n\s\s\s\s%\sputs\s${foo::z}\n\s\s\s\scan't\sread\s"foo::z":\sno\ssuch\svariable\n\s\s\s\s%\snamespace\seval\sfoo\svariable\sw\s"a"\n\s\s\s\s%\sputs\s${foo::w}\n\s\s\s\sa\n\s\s\s\s%\n\nObservedBehavior:\nThe\sbehavior\swith\srespect\sto\sthe\svariable\sfoo::z\sseems\sinconsistent\swith\n\s\s\s\sthe\sother\scases\sas\swell\sas\swith\sthe\sman\spage\son\sthe\s"variable"\scommand.\n\nDesiredBehavior:\nInitializing\sa\svariable\swith\sa\svalue\sshould\smake\sit\sreadable.\n\n\n\nThis\sis\sa\sconceptual\serror,\sand\sthe\sresult\sis\sas\sexpected\sand\ndocumented.\s\sThe\snamespace\seval,\slike\snormal\seval,\swill\sconcat\nthe\sargs\stogether.\s\sThis\scauses\san\sempty\sstring\s("")\sto\sjust\ndisappear.\s\sThe\scommand\sdoesn't\sfail\sbecause\svariable\swith\sjust\none\sarg\sis\sacceptable.\s\sThe\ssafer\sway\sto\scall\snamespace\seval\sis:\n\s\s\snamesapce\seval\sfoo\s{\svariable\sz\s""\s}\s\n--\s08/08/1999\shobbs
J foundin obsolete:\s8.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title the\s"variable"\scommand\sdoesn't\salways\sinitialize\sproperly.
J type Bug
K 218146ffffffffffffffffffffffffffffffffff
U nobody
Z b0f9c9541a2dbdf7fcd6847237433430