Returns a pseudo-random number.
Number := RANDOM(MaxNumber)
The largest acceptable number. In effect, you are setting a range from one (1) to the number you specify with the MaxNumber parameter.
Property Value/Return Value
A pseudo-random number between one (1) and the number you entered for MaxNumber.
If MaxNumber is negative it acts as a positive.
If MaxNumber is zero this function always returns 1.
A number is always chosen from the same set of numbers. Useto generate a new set of numbers.