1,2,3,4,5,6,3
unexpectedly I am getting this result
1,2,1,4,5,6,1
Code: Select all
repeat for each line tLine in sortedxml
put item 3 of tLine into tQT
if tQT > " '1'" then
replace item 3 of tLine with "1" in tLine
repeat tQT
if tempsortedxml is empty then
put tLine into tempsortedxml
else
put cr & tLine after tempsortedxml
end if
end repeat
else
if tempsortedxml is empty then
put tLine into tempsortedxml
else
put cr & tLine after tempsortedxml
end if
end if
end repeat