Re: Random sorting
Re: Random sorting
- Subject: Re: Random sorting
- From: Ben Dougall <email@hidden>
- Date: Mon, 6 Jan 2003 22:29:29 +0000
but surely that will allow you to pick the same thing twice, which
isn't what's wanted here?
Nope, it doesn't. You are essentially replacing the one you picked out
with the last element and then decrementing the count of the array.
The item picked is removed.
then decrementing the count of the array
i see. i wasn't aware that that part took place
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.