| Rnd Function | 
Syntax:
Rnd([Num])
Group:
Description:
Returns a random number greater than or equal to zero and less than one.
NOTE: This function does not return properly randomized numbers unless Randomize is called first with a suitable seed. To avoid this problem and generate random numbers with ease, use RndEx, RndInt or RndFloat.
Parameters:
| Parameter | Description | 
| See table below. | 
| Num | Description | 
| <0 | Return the same number every time, using Num as the seed. | 
| >0 | Return the next random number in the sequence. | 
| 0 | Return the most recently generated number. | 
| omitted | Return the next random number in the sequence. | 
Example: