RandomGenerator:random
Generates a pseudo-random number in a platform independent manner.
number = RandomGenerator:random()
number number The pseudo-random number.
number = RandomGenerator:random( max )
max number The maximum possible value it should return.
number number The pseudo-random integer number.
number = RandomGenerator:random( min, max )
min number The minimum possible value it should return.
max number The maximum possible value it should return.
number number The pseudo-random integer number.