The numbered elements in the array correspond to other values. I need check each element to see if been used or not. For examp. each pass thru a number is called, when a number is called, i need to tell the array true for that array element. If prog is going to call a value of 14, first of all, i need to check array[13] to see if it is true or false. If it is false(meaning has not been used), i can use 14. I would then set array[13] to true. The next number called is 45, i would check array[44] to see if true or false, if false, i can use 45 and then set array[44] to true. If next number called is 14, i check array[13] again and see that it is true, so number 14 can't be used again, so i must go to next number.
Hope make sense for you