Bill -

I use a UDF that Dennis McGrath developed called RANDOM.EXE.

It allows you to set a min and max value for the range of random numbers.and
the number of values you want returned.

I use it in a Drug testing program to select employees for random testing -
I put in the min and max number of employees and how many I need to select
and it generates the list of people selected from the pool.

Email me privately if you want code samples - hopefully Dennis will jump in
and let us know what the availability of his UDF is.

Sami


----- Original Message -----
From: "Bill Downall" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, February 07, 2003 6:38 AM
Subject: [RBASE-L] - Here's a Random question


> Please help me remember if there is a way to "seed" the R:Base
> RANDOM() function.
>
> Now, in a loop, it generates a series of random values that appear truly
> random and well distributed.  However, If I run the same program later, it
> generates the SAME series of random values in the same order.
>
> I remember Wayne -- years ago -- explaining that this is a behavior useful
> in testing, and that there was a way to make it truly random. I thought it
> was a separate command like RANDOMIZE, but I can't find that.
>
> Thanks for your help.
>
> Bill
>
>
>
>

Reply via email to