[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Getting randomic integers
- From: Majic <majic.one@...>
- Date: Sun, 17 Jan 2010 01:58:25 -0800
Thanks for the tips, very helpful :)))))
On Sun, Jan 17, 2010 at 1:53 AM, startx <startx@plentyfact.org> wrote:
> On Sun, 17 Jan 2010 00:20:57 -0800
> Majic <majic.one@gmail.com> 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.
>
> startx
>