Description
This function returns a pseudo-random long integer uniformly distributed in the range 1 through expr. The expr parameter should be greater than 1, and must not exceed 65536. If the value returned is to be assigned to a 16-bit integer (randomInteger>), expr should not exceed 32767. The actual sequence of numbers returned by rnd depends on the random number generator's "seed" value; see the random statement for more information. Note that rnd(1) always returns the value 1.