lua-users home
lua-l archive

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


Why does this work:

t = {
   f = function()
	    print("hello")
       end
}

But this doesn't?

t = {
   function f()
	print("hello")
   end
}