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). -- Roberto