lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo wrote:
No, I meant the luaopen_base, luaopen_math, etc.

These are ordinary Lua functions: they return the number of items they've
left on the stack (usually the tables they created to store the functions).

So base leaves 0, and all others leave 1 item? Thanks for your help, I think I'm getting this now.