Tcl Library Source Code

View Ticket
Login
Ticket UUID: 2426988
Title: linking to array variable problem
Type: Bug Version: None
Submitter: nobody Created on: 2008-12-14 11:53:12
Subsystem: struct :: matrix Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Open Last Modified: 2026-11-16 00:06:14
Resolution: None Closed By:
    Closed on:
Description:
version: 2.0.1 . 
Platform windows. 
ActiveTcl distribution .
linking to array variable issue.

 Any delete of row of matrix is not reflected in the linked array variable.

I am using this function in the context of updating Tktable. So it is a big problem

Regards
valli
[email protected]
User Comments: serhiy.storchaka added on 2026-11-16 00:06:14:

Proposed fix in branch matrix-link-stale-elements: the matrix data is now traced for unsets too, so cells removed by delete row/column or transpose are also removed from the linked arrays. Tests matrix-9.15 and matrix-9.16.


andreas_kupries added on 2008-12-16 00:26:03:
Hello valli, thank you for your report.

Is it possible for you to attach a snippet of Tcl code which demonstrates the problem ?
Right now I am not fully clear on what you are doing, making it it difficult to reproduce what you are seeing.