Skip to content
Tcl Source Code Artifact [eb09e2ab6e]
Login

Artifact [eb09e2ab6e]

Artifact eb09e2ab6e655b0002f3b8a1646df3e7bfec7392:

Ticket change [eb09e2ab6e] - Ticket [3588176fffffffff|3588176fff] <i>variable already exists (variable is a filesystem path)</i> status still Open with 4 other changes by ferrieux on 2012-11-17 23:12:25.
D 2012-11-17T23:12:25
J icomment Here's\sa\smuch\ssmaller\scase:\n\n\s%\sproc\sf\s{}\s{set\sitem\s1;g}\n\s%\sproc\sg\s{}\s{uplevel\s{variable\sitem\s2}}\n\s%\sf\n\svariable\s"item"\salready\sexists\n\nIt\sis\scollision\sbetween\sa\slocal\sand\san\sattempt\sto\sdefine\sa\snew\snamespace\svariable\swith\sthe\ssame\sname.\nYou\scan\seven\strigger\sit\swithout\suplevelling:\n\n\s%\sproc\sh\s{}\s{set\sitem\s1;variable\sitem\s2}\n\s%\sh\n\svariable\s"item"\salready\sexists\n\nI\sdunno\swhether\sTcl\sshould\sbe\sblamed\sfor\sthat.\sAs\sa\sprogrammer,\sI\scan't\simagine\sa\scase\swhere\sthis\swouldn't\sactually\sdetect\sa\sPBKAC\s;)\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 3588176fffffffffffffffffffffffffffffffff
U ferrieux
Z da8d749643e0661071de85c68a9d072c