var array_choice1;
var array_choice2;
var array_choice3;
var array_choice4;
var array_choice5;

var my_array[10] = {0,10,20,30,40,50,60,70,80,90};


i need a small function that choses 5 variables from
my_array[10] and applies them to array_choice 1-5 but
doesnt chose the same array spot twice.
so if this function choses my_array[3] randomly first
then array_choice1 will be assinged that value and
my_array[3] cant be chosen again

and all must be chosen randomly

i really appreciate any help smile

Last edited by badapple; 10/13/09 04:54.