04-04-2003, 11:00 AM
Well the only way to get better random numbers is to do a "randomize timer" statement before you set any random variables. Microsoft's GORILLA.BAS shows a good randomize function that should be made standard in all progs with random variables:
Anyone got any other ideas for randomizing variables?
Code:
FUNCTION ran (x, c)
RANDOMIZE TIMER
ran = INT(RND * x) + c
END FUNCTION
Anyone got any other ideas for randomizing variables?