lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I could not understand how to get a trully randomic integer. Suppose I need
> 50 randomic integers each time I call a function. Serching in documentation,
> I found two functions in Math module: math.random and math.randomseed.

try: print(math.random(50))

wes