- Name
-
Rnd -- generate a random number
- Synopsis
-
result = Rnd(range)
- Function
-
Generates a random integer number in the range of 0 to
range
(exclusive).
- Inputs
-
- range
- upper integer boundary of the random generator
- Results
-
- result
- a random number
- Example
-
num=Rnd(49)
Well, I cannot predict what value num
will receive. I can only
say that it will not be greater than 48 and not less than zero.
Show TOC