> On Fri, 17 Dec 1999, Henry Nelson wrote:
>
> > > collision. Creating names from this pool in pseudo-random fashion
> > > means that, as soon as you have generated two filenames, there is some
> > > chance that they are the same - and the more names you generate, the
> >
> > I thought there was a way to randomly pick from a declining pool, i.e.,
> > first choice is 1 out of 10000, second choice is 1 out of 9999, and so
> > on.
>
> Only if you keep a list of all choices taken so far.
>
> > When you take the last card, you reshuffle the deck.
>
> More like, game's over.
if you're holding 10000 cards, you may have some explaining to do...
> Klasu
>
--
Thomas E. Dickey
[EMAIL PROTECTED]
http://www.clark.net/pub/dickey