lua-users home
lua-l archive

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


>> 2008/7/27 Christof Schardt <christof@schardt.info>:
>> Ben Kelly wrote:
>>>         What is it?
>>>         Why use it?
>>>         Where is it?
>> I am missing an important question:
>>         How use it?
>>
>> More specific: what do I have to "require" ?
>> I tried "require("init") without success. Also the
>> other files couldn't be "required".
>>
> Peter Cawley wrote:
> Place the files in a directory called vstruct, then use
> require("vstruct") - one of the places that Lua looks when you do
> require(name) is name/init.lua
>

I'll expand that part of the mail/README for the next release.
	Ben