RANDOMIZE nbr
Seeds the random number generator with ‘nbr’.
On power up the random number generator is seeded with zero and will generate the same sequence of random numbers each time.
To generate a different random sequence each time you must use a different value for ‘nbr’. One good way to do this is use the TIMER function.
RANDOMIZE TIMER
See also:
RND
Applies to:
CGCOLORMAX
CGMMSTICK
CGMICROBOARD
CGMICROMITE
Leave a Reply