Table: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(9 intermediate revisions by 6 users not shown)
Line 3: Line 3:
Here is a list of every default table manipulation function present in Lua.
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.1/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.1/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.1/manual.html#pdf-table.maxn table.maxn]
* [http://www.lua.org/manual/5.2/manual.html#pdf-table.remove table.remove]
* [http://www.lua.org/manual/5.1/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.1/manual.html#pdf-table.sort table.sort]
* [http://www.lua.org/manual/5.2/manual.html#pdf-table.unpack table.unpack]
* [http://www.lua.org/manual/5.1/manual.html#pdf-unpack unpack]


==See also==
==See also==
Line 14: Line 14:


[[Category:Scripting Concepts]]
[[Category:Scripting Concepts]]
[[ar:Table]]
[[DE:table]]
[[en:Table]]
[[hu:table]]
[[RU:Table]]

Latest revision as of 18:05, 21 February 2021

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.

See also

Tables at lua.org