lua-users home
lua-l archive

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

Han Zhao <> 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.

f.anthony.n.finch  <>
Faeroes: Northwest, backing southeast 5 or 6, decreasing 3 for a time.
Moderate. Showers. Good.