lua-users home
lua-l archive

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


Johnson Lin <arch.jslin@gmail.com> wrote:

> What might be causing this? I am really confused. :(

You want os.date. Like in C, os.clock returns the amount of time your
program has spent warming up the CPU, which is rarely useful to know.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Wight, Portland: East or southeast, 3 or 4. Smooth or slight, occasionally
moderate in Portland. Fog patches for a time. Moderate, occasionally very poor
for a time.