Lua Programming/How to Lua/array

Array indexes start at oneEdit

In lua, the first element of an array is numbered one. However, this convention is enforced only by the library files, which are not part of the language core. An explicit index of zero is allowed.

Last modified on 26 April 2011, at 19:52