in reply to Re: rand + shift || pop
in thread rand + shift || pop

If the array is being used as a grab bag and order doesn't matter, you could use the "pack of cards" algorithm I mentioned in Re: getting random number 8 times never the same and Re: Random data generation..

Regards,

John Davies