lua-users home
lua-l archive

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


<snip>
>>--------------------------------
>>$debug
>>
>>myFunc = function ()
>>  Test = {}
>>  function Test:init() end
>>end
>>--------------------------------
<snip>
>Personally I think the code [above] is sensible and clean --- it would be
>nice if the language would allow it.

I'm curious:  How could you consider declaring and calling a function, all
in the middle of the declaration of another function, clean and sensible?

Falko