Array Sorting help!
#5

Try
pawn Код:
for(new i = (sizeof my_array)-1; i > 0; i--)
{
    if(my_array[i] >= my_array[i-1]) continue;
    my_array[i] ^= (my_array[i-1] ^= (my_array[i] ^= my_array[i-1]));
    i = sizeof my_array;
}
Reply


Messages In This Thread
Array Sorting help! - by Unknown1234 - 23.12.2013, 15:12
Re: Array Sorting help! - by Patrick - 23.12.2013, 15:44
Re: Array Sorting help! - by Unknown1234 - 23.12.2013, 15:59
Re: Array Sorting help! - by Pottus - 23.12.2013, 16:09
AW: Array Sorting help! - by BigETI - 23.12.2013, 16:16
Re: AW: Array Sorting help! - by Patrick - 23.12.2013, 16:24
AW: Array Sorting help! - by BigETI - 23.12.2013, 16:47
AW: Array Sorting help! - by Nero_3D - 23.12.2013, 17:05
Re: Array Sorting help! - by Unknown1234 - 24.12.2013, 03:24

Forum Jump:


Users browsing this thread: 2 Guest(s)