lua-users home
lua-l archive

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

> can anyone give me any idea of what I will need to do to get lua to
> check for the existance of a compiled file when require and dofile are
> called?

Lua loads source and precompiled files transparently. So, for require it's
a simple matter of setting LUA_PATH or package.path correctly. For instance:

For loadfile etc, you can redefine them to look in the path above.