Statement | Random |
---|---|
Version | 2.5.2+ |
Purpose | Generates a random number |
The Random statement requires a lower and higher numeric bound, and a variable to assign the result to, in the format
Random <lower> <higher> <variable>
Random 5 10 val
#${val} contains one of 5, 6, 7, 8, 9, 10