Currently there is no RANDOMIZE command available to seed the pseudo random number generator.
If one gets available you will be able to seed by current time for instance, which will only create the same random number sequence if you restart your server at the same second each day.
[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
I've pretty much accomplished that. My new version puts the starting position somewhere between 0 and 999 using time in milliseconds, and then forces a redo if the milliseconds number is even. In my main program, four 4-digit numbers are generated at each running. The redo makes the starting place for each 4-digit number jump ahead some unpredictable amount. That's enough variation so that even if the server was restarted every time, no one would ever notice a pattern.
Last Edit: Feb 2, 2012 9:31:59 GMT -5 by aristarkos