[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: require vs dofile (lua 5.1.4 windows)
- From: HyperHacker <hyperhacker@...>
- Date: Mon, 28 Jun 2010 02:23:40 -0600
On Mon, Jun 28, 2010 at 02:03, mos <mmosquito@163.com> wrote:
> Thank's for those replyed !
> I got to know what I want not require or dofile, but a "C" style include.
> why ? I get used to organized my lua source files in C style like:
> src
> base
> crc.lua ...
> tools
> ftp.lua ...
> tests
> exe
> and donot want to install them or modify lua path.
>
> so, I write a luaB_include
>
> [...]
>
> the code is long, please forgive.
>
I haven't really looked over the code, but what does it do differently
from dofile?
--
Sent from my toaster.