fwd:Re: Problem? Or my stupidity?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

fwd:Re: Problem? Or my stupidity?

AndyS
Try this instead - it seems to use a (probably) time based seed:

math.randomseed(0)
print(math.random(10))

n.b. This didn't come from the docs - just experimentation on a Tungsten C.

Btw - the os.time doesn't change very often anyway, i.e seems to be seconds based.

Hope this helps
        Andy Stratton