[Tutor] Numeric RandomArray seed problem.

Kent Johnson kent37 at tds.net
Sun Jan 1 13:54:00 CET 2006

Pujo Aji wrote:
> Hello,
> I tried calling RandomArray.seed()
> by calling RandomArray.get_seed() I get the seed number (x,y).
> My problem is that x is always 113611 any advice?

Take a look at the source for RandomArray.seed(). It more-or-less splits 
the decimal representation of the current time in half, using the high 
digits for x and the low digits for y. So x will change slowly, every 
few hours.


More information about the Tutor mailing list