lua-users home
lua-l archive

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


On Mon, Apr 14, 2014 at 4:35 PM, Petite Abeille <petite.abeille@gmail.com> wrote:

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.) … "



Aha. The Lua manual seems to be so densely packed with information that there's always a few tidbits I miss. :-)

--
Sent from my Game Boy.