From: SourceForge.net <no...@so...> - 2005-04-11 15:51:23
|
Bugs item #1180451, was opened at 2005-04-10 23:56 Message generated for change (Comment added) made by msofer You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1180451&group_id=10894 Category: 45. Traces Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: miguel sofer (msofer) Assigned to: miguel sofer (msofer) Summary: upvar to array element and trace non-functional? Initial Comment: This behaviour is present since (at least) Tcl8.3. Is it a bug? I did not find it documented ... % set a(1) 2 2 % trace add variable a read {puts READ;#} % set a(1) READ 2 % upvar 0 a(1) x % set x 2 % set y 1 1 % trace add variable y read {puts READ;#} % set y READ 1 % upvar 0 y x % set x READ 1 % trace add variable a(1) read {puts READ2;#} % upvar 0 a(1) x % set x READ2 2 ---------------------------------------------------------------------- >Comment By: miguel sofer (msofer) Date: 2005-04-11 12:51 Message: Logged In: YES user_id=148712 Doh - duplicate. Thanks Don. Interesting that I did not find the docs ... whereas I pointed to them myself in 572889. ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2005-04-11 10:25 Message: Logged In: YES user_id=80530 See Feature Request 572889 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1180451&group_id=10894 |