Usage
Returns a random integer between 0 and the specified value.
Syntax
Random(<val>)
or
ret = Random(<val>)
Parameters
<val>
: integer (at least 1)
Return value
ret
: random integer between 0 and <val>
.
Example
a = Random(5000)
MsgBox(str$(a))