The following program prints the same random number on both Mac OS X and Linux, and both use two different C libraries. Which means that Blitz generates it's own random numbers. I haven't tested in Windows however, so I may be wrong.
Thanks Todd, finally someone talking sense!!! :) That is exactly the type of thing I was looking for! I get the same result on my PC, except for the small decimal points...
Perhaps it would be better to compare a string of integers. How about people try this on different platforms:
SeedRnd 1000 For x = 1 To 10 Print "Random " + x + ": " + Rand(0, 1000) next
I get the following values:
Random 1: 90
Random 2: 410
Random 3: 823
Random 4: 904
Random 5: 625
Random 6: 191
Random 7: 919
Random 8: 675
Random 9: 536
Random 10: 847
Random 2: 410
Random 3: 823
Random 4: 904
Random 5: 625
Random 6: 191
Random 7: 919
Random 8: 675
Random 9: 536
Random 10: 847
As for people saying that random numbers should be truly random, that is crazy. Too many games demand consistant random numbers.