Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Random CGI

From: al::bri::xtra::co::nz at: 4-Feb-2001 20:57

Terry wrote:
> I have a CGI script that generates a random number... > > id: random 1000000 > > The problem is, it always picks the same number regardless?
Remember to always do: random/seed now as Elan pointed out. This restarts the random number generator at different points depending upon the current time. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/