lua-users home
lua-l archive

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


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.