Skip to content
Tcl Source Code Artifact [7510481835]
Login

Artifact [7510481835]

Artifact 7510481835cf1e1a049118d1944c30674c830871:

Ticket change [7510481835] - Ticket [449094ffffffffff|449094ffff] <i>Read trace on arrays (ex &quot;Tcl_TraceVar&quot;)</i> status still Open with 5 other changes by msofer on 2001-08-10 07:35:19.
D 2001-08-10T07:35:19
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nDoh\s...\sAt\sleast\sI\sunderstand\snow\swhy\sthese\sscripts\sfail\sto\ndo\swhat\sI\sthought\sthey\swould\sdo:\sTcl_TraceObjCmd\s(in\ntclCmdMZ.c)\sdoes\snot\sset\sthe\sflag\sTCL_TRACE_ARRAY,\sthe\sread\ntrace\sfires\swhen\san\selement\sof\sthe\sarray\sis\sread\sand\snot\son\n[array].\s\n\nUsing\sthe\s(new\sin\s8.4,\sstill\snot\sdocumented/oficial)\s[trace]\ncommand,\sthe\sbug\sis\sexposed\sto\sscripts:\sarray\strace\sstill\ndoes\snot\sfire\son\sfirst\saccess\sif\sthe\svariable\sis\sundefined:\n\n%\strace\sadd\svariable\srotvar\sarray\s{set\srotvar(foo)\s1\s;#}\n%\sarray\snames\srotvar\n%\sarray\snames\srotvar\nfoo\n\n\n
J login msofer
J mimetype text/plain
J title Read\strace\son\sarrays\s(ex\s"Tcl_TraceVar")
J username msofer
K 449094ffffffffffffffffffffffffffffffffff
U msofer
Z 37c5b8d1e3610d4340e753b14d9cfebb