Simple array question
Jim Hurley
jhurley at infostations.com
Thu Sep 30 17:48:50 EDT 2004
I have an array
x[1]
x[2]
x[3]
...
etc.
I combine x by return and put into a field. But the elements of the
array are not ordered 1, 2,3 etc.
I don't want to sort the list in the field by the values but by the
numerical order of the keys.
I do that now by brute force:
repeat with i = 1 to m
put x[i] into line i of tResults
end repeat
put tResults into field 2
But is there any quick way to get the list sorted by the keys? I have
11,000 elements in the array.
Jim
More information about the use-livecode
mailing list