[RESOLVED] Resetting the rnd?
I am sure most people by now know that rnd() is a PRNG (pseudo-random number generator) and its results are in no way random, rather they're mathematically derived and they follow a set path.
So if I was to do "Randomize (10)" and generate 30 numbers 0 to 9 using "Int(Rnd(1) * 10)" I would get the numbers *every* time in order "525290297256745269394259912502".
Anyway, on to my question. If I then did "Randomize (10)" again without closing the program, the string is not repeated from the start. Is there any way for me to reset this PRNG so that, after resetting and re-doing randomize(10), I get the same string of 30 numbers as stated above? Or does anyone else have an alternative PRNG that I could use that DOES allow me to reset it so the generated numbers can be repeated. This sort of function is very useful to certain people, and if you really care about WHY or HOW this could be useful, perhaps reading http://en.wikipedia.org/wiki/PRNG would help you :-)
Another question...are the outputted numbers the same for EVERYONE no matter who? If so, I might actually be able to do okay just using RND() :-)
If I can't use the inbuilt RND(), I am considering using http://www.math.sci.hiroshima-u.ac.j...ualbasicMT.txt which is a VB version of the Mersenne-Twister PRNG...I dunno yet though, I need to test it out I guess :-)