TIP: Click on subject to list as thread! ANSI
echo: quik_bas
to: THOMAS JOHNSON
from: GREG EASTHOM
date: 1998-01-31 22:00:00
subject: random Numbers

TJ>  Anyone know how to get better randon numbers? I'm writing a program
TJ>that uses the random number Generator, but the problem is, the numbers
TJ>come up in the same order daily.  Anyone know any code that might
TJ>correct this?  Thanks,
You will get several answers.
All will say put RANDOMIZE TIMER at the beginning of the program.
But you say the numbers "come up in the same order daily", so perhaps
you're already using the above statement, but starting the program at
exactly the same millisecond each day?
Did you mean "each time I run it"?
If so, insert the above statement, and rejoice!
... Go straight to the docs.  Do not pass GO.  Do not collect $200!
 * SLMR 2.1a * 
--- Maximus 3.01
---------------
* Origin: The BandMaster, Vancouver, B.C., Canada (1:153/7715)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.