what do you need to do? I'm not sure I understand what you need to do. If I understand random numbers correctly, each pull has an equal chance of a generating any number in the set, so there is no reason why the same random number can't appear consecutively in sequence.
Eric Dawson From: "Douglas L. Brown" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: CF-Talk <[EMAIL PROTECTED]> Subject: Re: Help with test Date: Mon, 12 Nov 2001 21:03:18 -0800 Well I guess what I am getting at is do I want to use it as a custID value...If I can get it through a million iterations then I probably can. Doug ----- Original Message ----- From: "Joseph Thompson" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, November 12, 2001 8:44 PM Subject: Re: Help with test > assuming you "seed" it, won't that number also be random? > > <!---It never hurts to call the randomize function---> > <cfset GoodSeed = (Minute(now())&Second(now()))> > <cfset GoodSeed = Randomize(GoodSeed)> > > <cfset RandomID=randRange(11111111,99999999)> > > I want to test how many iterations I can put > > randRange(11,111,111, 99,999,999) through before it comes up with a duplicate > > number, can someone help me with script to do so? > > <CF_SIGNATURE > > NAME="Douglas L. Brown" > > EMAIL="[EMAIL PROTECTED]" > > PHONE="714.538.6611" > > WEB="http://www.carnivorepc.com"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

