[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Event handling implementation
- From: John Dunn <John_Dunn@...>
- Date: Fri, 16 Nov 2007 08:57:12 -0800
Thanks for the comments.
> Rather than storing the handler in the registry, you could put it in the
userdata environment
> table. This allows for more flexibility to have several named handlers.
Is there an example on how to do this? I found this (
http://lua-users.org/wiki/UserDataEnvironmentExamples ) page but it looks
fairly complicated. Is there a simpler example somewhere showing how to use
the userdata environment table?
Thanks-
John