lua-users home
lua-l archive

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


On Wed, Jun 13, 2012 at 11:32 PM, Andrew Starks <andrew.starks@trms.com> wrote:
> So, if I looped with pairs(a), it would be there. __mode = 'k' and it
> would not. Correct?

If you looped with pairs(a), it would be there.
If __mode=='k' and you looped with pairs(a), then it might be there or
it might not, depending on how much work the garbage collector had
done since you removed the other reference to the table.