lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
is it closure?
From
: Dinesh Gandhewar <dagandhewar@
...
>
Date
: Mon, 18 Mar 2019 09:30:05 +0530
function test(y)
local t = {} --here t is local to funcion test
y.my = t
end
x = {}
test(x) --here whether x.my is still valid?
Kindly note -- line.
Thanking you,
Follow-Ups
:
Re: is it closure?
,
Philippe Verdy
Re: is it closure?
,
Tim Hill
Prev by Date:
Re: default LUA_TTABLE metatable, like for strings
Next by Date:
Re: is it closure?
Previous by thread:
the PLoop is ready
Next by thread:
Re: is it closure?
Index(es):
Date
Thread