[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Removing while iterating through table
- From: Wim Couwenberg <debosberg@...>
- Date: Fri, 23 Jul 2004 02:10:07 -0700 (PDT)
> Is this 'official'?
Yes, I think. :-) At least the manual only states
that assigning to a *non-existent* key in a table
results in undefined behaviour during traversal. (See
the entry for `next').
Assigning nil to *any* key (existing or not) is also
OK, though I'm not sure if tbis is `official' or only
documented by ltable.c ... :-)
--
Wim
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/