It's called a "Pseudo-Random" number generator.
It's main use is probably for creating "White Noise" with the SOUND command. Well, truthfully, it creates "Pink Noise", since "White Noise" would require a truly Random number generator.
I wouldn't want to write a game based on these numbers, because it would become too predictable.
One possibility for generating better randomness, is to take the amplified noise output from a semiconductor such as diode or transistor (White Noise) and feed that into a timer or A/D Channel. When you use those values, you'll never see a repeating pattern. But then, that means more hardware.
I see Dwayne beat me to the punch. And, I'll agree. Time would make a good seed, as long as it's a battery backed-up clock that still runs when power is off.
HTH,
Darrel
Bookmarks