Table: Difference between revisions
Jump to navigation
Jump to search
(New page: A table is an array-like data storage type. They are mostly used for bigger data storage. Tables can be indexed not only with numbers but also with other data types, for example with strin...) |
No edit summary |
||
Line 1: | Line 1: | ||
A table is an array-like data storage type. They are mostly used for bigger data storage. | A table is an array-like data storage type. They are mostly used for bigger data storage. | ||
Tables can be indexed not only with numbers but also with other data types, for example with strings and MTA [[elements]]. | Tables can be indexed not only with numbers but also with other data types, for example with strings and MTA [[elements]].<br /> | ||
Here is a list of every default table manipulation function present in Lua. | |||
* [http://www.lua.org/manual/5.2/manual.html#pdf-table.concat table.concat] | |||
* [http://www.lua.org/manual/5.2/manual.html#pdf-table.insert table.insert] | |||
* [http://www.lua.org/manual/5.2/manual.html#pdf-table.pack table.pack] | |||
* [http://www.lua.org/manual/5.2/manual.html#pdf-table.remove table.remove] | |||
* [http://www.lua.org/manual/5.2/manual.html#pdf-table.sort table.sort] | |||
* [http://www.lua.org/manual/5.2/manual.html#pdf-table.unpack table.unpack] | |||
==See also== | ==See also== | ||
[http://www.lua.org/pil/2.5.html Tables at lua.org] | [http://www.lua.org/pil/2.5.html Tables at lua.org] | ||
[[Category:Scripting Concepts]] | [[Category:Scripting Concepts]] |
Revision as of 18:11, 10 April 2012
A table is an array-like data storage type. They are mostly used for bigger data storage.
Tables can be indexed not only with numbers but also with other data types, for example with strings and MTA elements.
Here is a list of every default table manipulation function present in Lua.