lua-users home
lua-l archive

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

>From Wed May 26 12:12:28 1999
>Lua people: The docs say that functions are considered data, as integers
>for example. This means if I write something like:
>  ...
>and then write a.b=nil, will the function be garbage collected ?

Yes, definitely.
All constants (strings, other functions) used in that function will also be