[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to query current path from a library?
- From: Petite Abeille <petite_abeille@...>
- Date: Mon, 22 Feb 2010 18:57:39 +0100
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