lua-users home
lua-l archive

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


> 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/