home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
db3rand.zip
/
RANDOM.DOC
next >
Wrap
Text File
|
1989-11-02
|
558b
|
22 lines
Dbase Random number generator
The Random.prg file in the procedure file util.prg can generate random numbers
in Dbase III.
A sample program 'testrand.prg' illustrates the use of the Random.prg program.
To test the program, type 'DO TESTRAND' at the Dbase III dot prompt. The
range of random numbers generated can be selected as shown in the example
program.
I'm not sure if the function generates true random numbers statistically
speaking, but it appears to do the trick for most types of programming.
J. Gasal
11/2/89