lua-users home
lua-l archive

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


Han Zhao <abrash_han@hotmail.com> wrote:
>
> When the table is big, I'd like a callback in loadfile() to
> display some progress info in the UI.

Try defining your own lua_Reader function which updates the progress each
time it passes a chunk of data to Lua.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Faeroes: Northwest, backing southeast 5 or 6, decreasing 3 for a time.
Moderate. Showers. Good.