sort array ?
Posted: Mon Jun 18, 2012 10:43 am
Hello,
how can I sort the array in ascending order?
thanks
the result:
I like this result:
thanks
how can I sort the array in ascending order?
Code: Select all
....
repeat until revQueryIsAtEnd(theCursor)
add 1 to i
put distanza(myvalue) into totale[i]
revMoveToNextRecord theCursor
end repeat
....
the result:
Code: Select all
totale[1] = "21344.4"
totale[2] = "344.7"
totale[3] = "11344.5"
totale[4] = "91344.2"
Code: Select all
totale[1] = "344.7"
totale[2] = "11344.5"
totale[3] = "21344.4"
totale[4] = "91344.2"