Re: Function to force table to shrink?

bil til <[email protected]>
Newsgroups gmane.comp.lang.lua.general
Message-ID <CAOnDXmHrPmsSRsq6MtnQkOp7oV+att_7G8oeFGnLtrpbGWTVBQ@mail.gmail.com>
> It would still be nice IMO to have a table.clear() which just

sorry for a stupid question, I did not really understand all the
details of this discussion.

But if for a table t you just write t=nil, won't this also delete the table?

(so it would do the same as what you want to do by t.clear()?

-- 
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/lua-l/CAOnDXmHrPmsSRsq6MtnQkOp7oV%2Batt_7G8oeFGnLtrpbGWTVBQ%40mail.gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.