Rand Seed

BlitzMax Forums/BlitzMax Beginners Area/Rand Seed

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

@Perturbatio
No, you wouldn't get the same series, but it wouldn't be any more random
SeedRnd(Rand(0,Millisecs))

Because for any Millisec you would STILL get the same series

So I was right and you were wrong ;)
(I think you thought that I ment the same series as when you didnt use this method. But I didnt ;)
I ment that for any MILLIsec you would get the same series. which suprisingly, is what I said. I was unfortunatly assuming that rand had already been set.
If Rand is not auto set on ititialization then, Ok yes so You are right and Im not

So run
Print Rnd(0,10)
A few times. If it gives the same number every time then I an right, if it gives a different number then you are right ;)