result = Rnd(range)
range (exclusive).
The seed value used by Rnd() can be set using the RndSeed() function.
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.