lua-users home
lua-l archive

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


Oh and one more thing, you can use a hybrid approach, as Lua does let
you (using __call in metatables) have something that you can call as a
function and also use as an object

ie you can do nextstate() or self() and self.entry_actions() so you
end up with what looks like a hybrid function/object model.

Justin