lua-users home
lua-l archive

RE: Declaring t:f style functions in other functions

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


>	It is in the manual. You can't do that. But you can
>write this:
Oh, sorry, I have overlooked this then....
>function test ()
> table.method2 = function (self) end
>end
Yes, that what I called declaring it without object style
syntax. Thanks for your help and sorry for not having read
th emanual enough....
--vp

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