I am setting an array in my tcl.
set FT($index1) $segment
index1 equals the below
2021020186900
2021020186901
The index ending in 900 goes into the array first
When I read the array using the code below I get the information from 2021020186901 first which makes the segments out of sequence.
set srch [array startsearch FT]
while {[array anymore FT $srch]} {
set key [array nextelement FT $srch]
set segment2 $FT($key)
lappend line3 $segment2
}
How do I get the information out in the order I put it in?
Gene Millard
The Guthrie Clinic
Sayre, PA