lua-users home
lua-l archive

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


>It's possible to know where the compiled "prog2.lua"
>starts in "files.dat" and it's size?

It's possible but it amounts to loading the whole thing.
Not a route you want to take.

>Knowing this, I can load files.dat to a buffer and use
>lua_dobuffer to run the code compiled from "prog2.lua"

That's not how things are organized in the precompiled code. Sorry.
--lhf