lua-users home
lua-l archive

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

On Tue, Dec 01, 1998 at 04:21:11PM -0200, Roberto Ierusalimschy wrote:
>   settagmethod(tag(nil), "getglobal", <your function>)
> <your function> will be called with the name of the global variable and
> its original value (nil in this case). (I suppose it is "find_enum" in your
> case).

Thanks, that worked great. I wasn't understanding that it was actually
calling the 'getglobal' tag method on the "nil" which is returned
because the variable isn't there. I'm all straightened out now.

David Jeske (N9LCA) + +