Top

Name

randomize — initializes the random number generator

Synopsis

randomize ( in seed integer );
 

Description

The rnd function returns a random number between zero and n - 1, inclusive.

randomize initializes the random number generator.

The random number generator is initialized after the clock at first usage, so the produced sequences will be different each time unless specifically initialized.