[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A guide to building Lua modules
- From: Petite Abeille <petite.abeille@...>
- Date: Mon, 14 Apr 2014 22:35:22 +0200
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.) … "