Originally Posted by Elkano
The following three are equivalent:
- self.event(self)
- self:event()
- self["event"]()
if however event is a variable (in contrast to the string "event"), your only way of calling is
- self[event]()
|
Ah yes, ofcourse. Thank you