Skip to content
Tcl Source Code Artifact [7b153192ce]
Login

Artifact [7b153192ce]

Artifact 7b153192cef698c1dae49ba5d430a5cd88fb2f3a:

Ticket change [7b153192ce] - New ticket [1247135fffffffff|1247135fff] <i>info globals works wrong inside proc</i>. by nobody on 2005-07-28 21:48:56.
D 2005-07-28T21:48:56
J assignee dkf
J cmimetype text/plain
J comment Name:\sLawrence\sD'Oliveiro\nContact\se-mail:\[email protected]\n\nSystems\stried:\sSuSE\sLinux\s9.3\sx86-64,\stcl\s8.4.9-7\svs\sSuSE\s9.1\s\nx86\s(32-bit),\stcl\s8.4.6-26\n\nOn\sthe\ssystem\srunning\s8.4.9,\s"info\sglobals"\sis\sreturning\sa\s\nnonempty\sresult\sfor\san\sundefined\sglobal,\swhen\sit\sshould\sbe\s\nreturning\san\sempty\sresult.\sFurthermore,\sit\sonly\sdoes\sthis\sinside\sa\s\nproc.\n\nFor\sexample,\stry\sthis\scommand\ssequence\sfrom\sthe\stclsh\scommand\s\nprompt:\n\n\s\s\sproc\sTry\s{}\s{global\sGlob;\sinfo\sglobals\sGlob}\n\s\s\sTry\n\nAssuming\sthat\sthere\sis\sno\sglobal\svariable\snamed\s"Glob",\sthis\s\nreturns\san\sempty\sresult\son\s8.4.6,\sbut\sit\sreturns\s"Glob"\son\s8.4.9.\n\nIf\syou\stry\sthe\ssame\scommands\sas\sthe\sprocedure\sbody,\sentered\s\ndirectly:\n\n\s\s\sglobal\sGlob\n\s\s\sinfo\sglobals\sGlob\n\nThis\ssequence\sreturns\san\sempty\sresult\son\sboth\s8.4.6\sand\s8.4.9.
J foundin obsolete:\s8.4.9
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 17.\sCommands\sI-L
J title info\sglobals\sworks\swrong\sinside\sproc
J type Bug
K 1247135fffffffffffffffffffffffffffffffff
U nobody
Z 86aa19a573b4521e9beb1c37ac9b8ef6