lua-users home
lua-l archive

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


>Another hard point will be the 0-indexed stuff, if you're planning
>to implement it at all. Lua has a special meaning for 0 in many cases.

To quote myself:

 There is exactly ONE spot in the core of Lua where this is true: the
 parsing of constructors such as {10,20,30} . The convention of starting
 with 1 is only enforced by the libraries, which are not part of the language.
 http://lua-users.org/wiki/CountingFromOne

--lhf