lua-users home
lua-l archive

Re: function call in table with reference

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


On 23/08/2013 12.42, Philipp Kraus wrote:
mytab = {
 func1 = function(self, …) do something end
 func2 = function(self, …) do something other
}
and self should be point to mytab. How can I do this?
mytab:func1()
--
 Enrico

AltStyle によって変換されたページ (->オリジナル) /