I have added Random.vbs to the WinUDF.Zip batch of callable scripts at
www.byerley.net/WinUDF.Zip .  RBase sample command file is there.  I would
encapsulate the RBase Code in a stored procedure if you were going to call
this from more than one location in your code.  You can "Seed" the Randomize
method with values between 1 and 32767.


----- Original Message -----
From: "Bob Castanaro" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, February 07, 2003 4:04 PM
Subject: [RBASE-L] - Re: Here's a Random question


> PMFJI,
>
> I have used Dennis McGrath's RANDOM.EXE also for a drug testing program
and
> it works great.  As I recall, the price was very reasonable in terms that
a
> drug testing program is definitely mission critical to many organizations,
> especially the Department of Transportation.
>
> BC
>
>
>
>
>
>
> "Sami Aaron" <[EMAIL PROTECTED]> on 02/07/2003 09:37:49 AM
>
> Please respond to [EMAIL PROTECTED]
>
> To:   [EMAIL PROTECTED] (RBASE-L Mailing List)
> cc:    (bcc: Bob Castanaro/BCH)
> Subject:  [RBASE-L] - Re: Here's a Random question
>
>
>
>
> 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