RANDOMIZE
RANDOMIZE [ Seed AS Integer ]
Initializes the pseudo-random numbers generator with the specified
Seed.
If
Seed is not specified, then the generator is initialized with the current date and time.
The same seed will always give you the same generated values.
Since 3.8.3
Randomize 0
makes the pseudo-random number generator always return zero!
This has been fixed in Gambas 3.8.3.
See also