lua-users home
lua-l archive

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


On Feb 22, 2010, at 6:52 PM, Jorge wrote:

> If i could get the library's path i could fix the relaitve paths, but seems i can't get that?

Check debug.getinfo( aLevel, 'S' ).source

http://www.lua.org/manual/5.1/manual.html#pdf-debug.getinfo

Usage example:

http://dev.alt.textdrive.com/browser/HTTP/Bundle.lua