- This wiki is out of date, use the continuation of this wiki instead
Rand
From FenixWiki
Contents |
Definition
INT rand ( <INT lowerlimit> , <INT upperlimit> )
Returns a random number, ranging from a certain lower limit to a certain upper limit. The limits are within the range.
Parameters
INT lowerlimit | - The lower limit for the random value. |
INT upperlimit | - The upper limit for the random value. |
Returns
INT : A random value: lowerlimit <= result <= upperlimit
Notes
To synchronize rand() on different computers, the function rand_seed() can be used.