lua-users home
lua-l archive

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

On Mon, Jun 13, 2011 at 6:22 PM, Murray S. Kucherawy <> wrote:
> If I pass a chunk to lua_load() and then use lua_dump() to get the compiled
> form, can I reuse that compiled form in different Lua states, or is it only
> good in the one in which it was compiled?

You can use it in other states with PUC Lua.

- Patrick Donnelly