Now i understand tables are something like arrays but see with an array I can make a 2d array and add data like
array[0,0] = "player1" array[0,1] = 10.0 array[1,0] = "player2" array[1,1] = 5.0 array[1,0] = "player3" array[1,1] = 7.0
this makes things much easier for swapping around entry’s in other languages such as.
for j:=0 to array.length do for i:=0 to array.length-1 do if (array[i,1] < array[i+1,1])then begin temp = array[i+1] array[i+1] = array* array* = temp end end end
what is the best and easy way to do this for i want to keep 4 or 5 numbers and strings in one table for each person.