RANDOMIZE
The RANDOMIZE command reseeds the random number generator.
RANDOMIZE Seed Value
Seed Value
Integer
This value is an integer number such as 1.
This command does not return a value.
If the random number generator is not reseeded the RND() command can return the same sequence of random numbers. To change the sequence of random number every time the program is run, place a randomize statement with an integer number at the beginning of the program and change the value with each run.
RANDOMIZE TIMER()
DO
SET CURSOR RND(640),RND(480)
PRINT "*"
LOOP
CORE Commands Menu
Index