lua-users home
lua-l archive

Re: Nnitpicks in the Lua 5.1 Reference Manual

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


In <http://lua-users.org/lists/lua-l/2006-03/msg00770.html>
David Jones wrote:
Section 2.2 says tables "can contain values of all types
(except nil)", but this is inconsistent with ipairs which
says "up to the first integer key with a nil value in the
table" (keys can't have nil values), and "next" which says
"There is no difference between a field not present in a
table or a field with value nil".
Roberto's reply to a similar comment was:
Tables cannot contain nils, but arrays can.
http://lua-users.org/lists/lua-l/2006-03/msg00576.html
Sorry again for this not being threaded. I'm working on
getting Hotmail to not throw away messages from this list.
--
Aaron

AltStyle によって変換されたページ (->オリジナル) /