![]() |
<< Index >> |
FutureBasic |
rnd | function | |
|
randomInteger = rnd (expr )
rnd (1)
always returns the value 1.
randomInteger =
(Note max - min
must be less than or equal to 65536.)
To get a random fraction, greater than or equal to zero and less than 1, use this statement:
frac! = (
To get a random long integer in the range 1 through 2,147,483,647, use this statement:
randomInteger = ((