Supported platforms: ![Platform android.png](/images/4/45/Platform_android.png)
![Platform ios.png](/images/9/96/Platform_ios.png)
![Platform mac.png](/images/8/81/Platform_mac.png)
![Platform pc.png](/images/e/ef/Platform_pc.png)
![Platform html5.png](/images/b/b2/Platform_html5.png)
![Platform winrt.png](/images/2/23/Platform_winrt.png)
![Platform win32.png](/images/4/40/Platform_win32.png)
Available since: Gideros 2011.6
Description
This library provides generic functions for table manipulation.
Most functions in the table library assume that the table represents an array or a list. For these functions, when we talk about the "length" of a table we mean the result of the length operator.
Methods
table.clone duplicates a table
table.concat returns concatenated table elements i to j separated by sep
table.getn returns size of table, or n field, or table.setn value, or 1 less first index with nil value
[Deprecated in Lua 5.1, use # operator]
table.insert inserts value at location pos in table, default pos=n 1
table.remove removes element at pos from table, default pos=n
table.share makes a table thread safe
table.sort sorts in-place elements 1 to n, comp(v1,v2- true if v1<v2, default <)
|
Events
Constants
|