[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: package location awareness?
- From: PA <petite.abeille@...>
- Date: Wed, 2 Feb 2005 00:52:55 +0100
Hello,
Perusing through PIL's chapter 15.3 - Packages and Files, I stumbled
upon _REQUIREDNAME. How is that used? I don't seem to be able to access
it one way or another. Always get nil.
For example, in the following 'class', which is defined as a package of
sort, _REQUIREDNAME always evaluate to nil:
http://dev.alt.textdrive.com/file/lu/MyClass.lua
What am I doing wrong? Do I need to define something else?
More generally, is there a straightforward way to figure out in which
file (including its full path) a given package is defined?
TIA.
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/