lua-users home
lua-l archive

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


On Apr 14, 2014, at 10:27 PM, Rena <hyperhacker@gmail.com> wrote:

> Interesting. I've never seen this. Is it documented somewhere?

http://www.lua.org/manual/5.2/manual.html#pdf-require

“… require calls the loader with two arguments: modname and an extra value dependent on how it got the loader. (If the loader came from a file, this extra value is the file name.) … "