lua-users home
lua-l archive

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



anderson wrote:
What does the param name mean in luaL_loadbuffer?

It's just for use in error messages and debug info. Basically to help let you know which chunk of code had the error. The string being evaluated doesn't have an inherent name like a file or a global function, so it's nice to be able to give it a name.

- Peter