RE: random number cfc

2004-01-26 Thread Samuel R. Neff
> Subject: Re: random number cfc > > > Because passing a seed that is only accurate to the second > will cause > > duplicate numbers in a high volume site. > > > > Hell that'd have to one seriously busy website!  That's like > hits

Re: random number cfc

2004-01-26 Thread Stephen Moretti
> Because passing a seed that is only accurate to the second will cause > duplicate numbers in a high volume site. > Hell that'd have to one seriously busy website!  That's like hits per second (or millisecond if you don't seed Randomize()) website! Well no thats not strictly true. It

RE: random number cfc

2004-01-26 Thread Samuel R. Neff
og: http://www.rewindlife.com Charts: http://www.blinex.com/products/charting --- > -Original Message- > From: Stephen Moretti [mailto:[EMAIL PROTECTED] > Sent: Monday, January 26, 2004 11:36 AM > To: CF-Talk > Subject: Re: random numbe

RE: random number cfc

2004-01-26 Thread Tony Weeg
January 26, 2004 11:37 AM To: CF-Talk Subject: RE: random number cfc sure...this is christians code from his blog...so, I wonder what he thinks? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 26, 2004 11:35 AM To: CF-Talk Subject: RE: random num

Re: random number cfc

2004-01-26 Thread Stephen Moretti
Heck!  Thats complicated for : Randomize(DateFormat(now(),"ddmm")&TimeFormat(now(),"hhmmss")); NewNumber = RandRange(1,); Any particular reason??? Stephen Tony Weeg wrote: > > > > > returnvariable="theNumber"> > #theNumber# > > > > Is what I have, and here are the results, am

RE: random number cfc

2004-01-26 Thread Tony Weeg
sure...this is christians code from his blog...so, I wonder what he thinks? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 26, 2004 11:35 AM To: CF-Talk Subject: RE: random number cfc have a look at http://java.sun.com/j2se/1.4.2/docs/api

RE: random number cfc

2004-01-26 Thread Samuel R. Neff
ilto:[EMAIL PROTECTED] > Sent: Monday, January 26, 2004 11:20 AM > To: CF-Talk > Subject: random number cfc > > > > component="randomGenerator" method="next" > returnvariable="theNumber"> > #theNumber# > > > >

RE: random number cfc

2004-01-26 Thread Douglas.Knudsen
have a look at http://java.sun.com/j2se/1.4.2/docs/api/java/util/Random.html maybe reseed on each iteration?   Doug -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Monday, January 26, 2004 11:28 AM To: CF-Talk Subject: RE: random number cfc so cf is looping 5 times

RE: random number cfc

2004-01-26 Thread Tony Weeg
so cf is looping 5 times per second...on average? and therefore on the same getTickCount() tick? tw -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Monday, January 26, 2004 11:27 AM To: CF-Talk Subject: RE: random number cfc Nope, but the seed for Random() in

RE: random number cfc

2004-01-26 Thread Adrian Lynch
andom number cfc returnvariable="theNumber"> #theNumber# Is what I have, and here are the results, am I doing something wrong? 3582162 3582162 3582162 3582162 3582162 3582162 87279085 87279085 87279085 87279085 87279085 90357076 90357076 90357076 90357076 90357076 90357076

random number cfc

2004-01-26 Thread Tony Weeg
returnvariable="theNumber"> #theNumber# Is what I have, and here are the results, am I doing something wrong? 3582162 3582162 3582162 3582162 3582162 3582162 87279085 87279085 87279085 87279085 87279085 90357076 90357076 90357076 90357076 90357076 90357076 81123102 81123102 81123102