|
>> >> Assuming you want to print 50 uniform random integers between 0 and 100: >> >> for i=1,50 do >> print(math.floor(math.random()*100)) >> end > > Or print(math.random(0,100)) > Yes :-) I just discovered that random(n,m) returns _integers_, not arbitrary numbers... very convenient!