lua-users home
lua-l archive

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

hello Gustavo,

2011/1/21 Gustavo de Sá Carvalho Honorato <>:
> how can I use require function passing the file path relative to the file
> that is calling the require function, as we do with #include in C?

if you have the following structure:


in a.lua you can do:


At least it works for me..