Difference between revisions of "table"

m (included link to other languages)
Line 2: Line 2:
  
 
[[Category:Data Types]][[Category:Lua]]
 
[[Category:Data Types]][[Category:Lua]]
 +
== Other Languages ==
 +
{{i18n|number}}

Revision as of 10:04, 10 January 2011

The table type implements associative arrays. An associative array is an array that can be indexed not only with numbers, but also with strings or any other value of the language, except nil. Moreover, tables have no fixed size; you can add as many elements as you want to a table dynamically. Tables are the main (in fact, the only) data structuring mechanism in Lua, and a powerful one. See Programming in Lua.

Other Languages