lua-users home
lua-l archive

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


I've been using Lua for a while now, but in a very limited and straight forward manner.  Some questions have now come up regarding the Lua VM and it's capabilities.  While I have a pretty good idea what the answers would be, I was hoping the community might be able to provide not just the "no's", but possibly alternate solutions or ideas for handling these requirements.

*    Can a LUA script call functions in another Lua script, i.e. will the VM automatically load the Lua script in which the function is referenced?

*    When compiling Lua scripts, will the compiler resolve function calls to functions within other Lua scripts, i.e. will the compiler ensure the function exists and that the parameters are correct?

Thanks in advance,
Brett