Consider the sample code below, i need to convert the list “nvlist” back to an array. How can i do that?
for {set i 0} { $i < 3} {incr i} {
set color($i) $i
}
set nvList [array get color]
I have the data in nvlist after this, and i need to change this back to an array.. How can i do this?
array getandarray setare inverses: