[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Function definitions in table constructors
- From: Tim Hunter <TimHunter@...>
- Date: Wed, 20 Feb 2008 20:30:01 -0500
Why does this work:
t = {
f = function()
print("hello")
end
}
But this doesn't?
t = {
function f()
print("hello")
end
}