[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Calling a chunk by file name
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 5 Feb 2004 19:08:20 -0200
>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