lua-users home
lua-l archive

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


On Wed, Apr 30, 2014 at 9:55 AM, Igor Trevisan <igt1972@gmail.com> wrote:
> The problem is that I don't want to collect the lua files but
> keep them detached.

Ah yes, you keep them on the USB stick... as I understand, you want a
function available that comes from another file.  Could you not just
use require() to load the other file from the main script?

Alternatively, if all these functions are global in your state, then
after loading the files all the functions will be available when you
start running the main function.