Randomness
BlitzMax Forums/BlitzMax Beginners Area/Randomness
| ||
Hey. Do you guys sometimes have trouble using the Rnd/Rand commands, too? I'm currently coding sth and the randomness seemed to work fine (I used seedRnd millisecs()). But suddenly I started getting the same random numbers everytime I ran the program. So I guess my question is: How do I set up random numbers correctly, so that they differ every time I start the programm? Thanks a lot in advance! |
| ||
You're probably doing something wrong (which is impossible to say, without seeing code) - SeedRnd Millisecs() works fine. |
| ||
You were right |