I think I need the assign set in your example to be created using the newlist3 set, because in my problem I am create an entity in a program and then taking the ID of that to put in a list. Therefore it's not as simple as using the [expr ] command.
Here's my code currently:
set x 0
set...
Thanks Feherke,
This works perfectly.
I'm now struggling with the next step of this problem, which involves relating back the unique pairs to the original data.
For example, I have x amount of data (let's say 5 for an example). These 5 ID's will have two data points associated to them (in...
Hi all,
I'm just learning Tcl, so this is probably basic. Essentially, I have two lists of data that can be any length (however both lists will always be the same length).
What I'm trying to do is create a 3rd and 4th list with the duplicates removed. I should mention that the two lists are...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.