[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to return a table from a function
- From: Walter Cruz <walter.php@...>
- Date: Mon, 7 Nov 2005 13:46:44 -0300
Well, is that ?
function foo()
local t = {k='bar'}
return t
end
x = foo()
print(type(x))
table.foreach(x,print)
[]'s
- Walter