Name
rnd — returns a random number between 0 and n - 1 inclusive
Synopsis
number 
rnd
(
            | 
                    in 
n
   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.