Skip to content
Tcl Source Code Artifact [6b93307062]
Login

Artifact [6b93307062]

Artifact 6b933070629a3e8b1fd09d4e7e8173bb487bdf91:

Ticket change [6b93307062] - New ticket [8e91ec4866db095f|8e91ec4866] <i>{TCL LOOKUP VARNAME} vs {TCL READ VARNAME}</i>. by aspect on 2015-07-23 05:29:56.
D 2015-07-23T05:29:56.986
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment I\sdon't\sknow\swhat\scategory\sto\sput\sthis\sin\s-\swas\shoping\sfor\ssomething\slike\s"Exceptions".\r\n\r\n{TCL\sREAD\sVARNAME}\sseems\slike\sa\smistake\s-\s{TCL\sLOOKUP\sVARNAME}\soccurs\smore\r\nfrequently\sin\sthe\ssource,\sand\sit\sis\snot\sclear\sto\sthe\sscript\swriter\swhy\sone\r\nmight\strap\sone\sbut\snot\sthe\sother:\r\n\r\n%\sunset\sa\r\n%\stry\s{puts\s$a}\son\serror\s{e\so}\s{puts\s[dict\sget\s$o\s-errorcode]}\r\nTCL\sLOOKUP\sVARNAME\sa\r\n%\sapply\s{{}\s{try\s{puts\s$a}\son\serror\s{e\so}\s{puts\s[dict\sget\s$o\s-errorcode]}}}\r\nTCL\sREAD\sVARNAME\r\n%\stry\s{apply\s{{}\s{puts\s$a}}}\son\serror\s{e\so}\s{puts\s[dict\sget\s$o\s-errorcode]}\r\nTCL\sREAD\sVARNAME\r\n%\stry\s{puts\s$a(a)}\son\serror\s{e\so}\s{puts\s[dict\sget\s$o\s-errorcode]}\r\nTCL\sLOOKUP\sVARNAME\sa\r\n%\sarray\sset\sa\s{}\r\n%\stry\s{puts\s$a(a)}\son\serror\s{e\so}\s{puts\s[dict\sget\s$o\s-errorcode]}\r\nTCL\sREAD\sVARNAME\r\n\r\nDespite\sfrequency\sof\soccurrence,\sREAD\sseems\sto\sonly\sbe\semitted\sfrom\sone\slocation\sin\r\nthe\ssource:\r\n\r\nhttp://core.tcl.tk/tcl/artifact/0a01b4037e1d4eec?ln=1414\r\n\r\nWhere\sit\shas\sbeen\ssince:\r\n\r\nhttp://core.tcl.tk/tcl/info/a12728cbb91807a8\r\n\r\nWhile\sthe\stest\ssuite\sis\smostly\squite\sthorough\swith\serrors,\sit\sonly\stouches\r\n{TCL\s*\sVARNAME}\sby\saccident,\sin\scmdAH-23.6.\s\sThe\sabove\sexamples\sseem\slike\sa\sgood\r\nstart\sfor\stest\scases,\sbut\sI'm\snot\ssure\swhat\sothers\sshould\sexist.
J foundin 8.6
J is_private 0
J login aspect
J priority 5\sMedium
J resolution None
J severity Minor
J status Open
J submitter aspect
J subsystem None
J title {TCL\sLOOKUP\sVARNAME}\svs\s{TCL\sREAD\sVARNAME}
J type Bug
K 8e91ec4866db095f1d90d4e2fd468305a8a80bf8
U aspect
Z edf9a9510015bf6b4c3b38b09815ae4f