RANDOM
Syntax RANDOM number  
 
Explanation

RANDOM reports a randomly selected number from 1 through its input. The output can only be a positive integer. For example:

RANDOM 5

could report 1, 2, 3, 4, or 5. See also RERANDOM.

Examples RANDOM 4 
Result: 2 
RANDOM 4 
Result: 3 
RANDOM 10 
Result: 7  

TopIndex