lua-users home
lua-l archive

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

On Sun, 17 Jan 2010 00:20:57 -0800
Majic <> wrote:

> Yes yes, was just hoping to get random numbers more than once a second
> :)  I don't think that's portable though.... oh well.

you can use socket.gettime() from luasocket to get a more granular time.
of course it might be a bit of an overkill to require luasocket only
for this function.