Difference between revisions of "Table"
m |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
<!--GIDEROSOBJ:table--> | <!--GIDEROSOBJ:table--> | ||
− | '''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]] | + | '''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]]<br/> |
− | <br/> | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
Line 13: | Line 12: | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== Methods === | === Methods === | ||
− | [[table.clone]] '' | + | [[table.clone]] ''duplicates a table''<br/><!--GIDEROSMTD:table.clone(table,target,deepclone) duplicates a table--> |
[[table.concat]] ''returns concatenated table elements i to j separated by sep''<br/><!--GIDEROSMTD:table.concat(table,sep,i,j) returns concatenated table elements i to j separated by sep--> | [[table.concat]] ''returns concatenated table elements i to j separated by sep''<br/><!--GIDEROSMTD:table.concat(table,sep,i,j) 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 | [[table.getn]] ''returns size of table, or n field, or table.setn value, or 1 less first index with nil value | ||
Line 23: | Line 22: | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | |||
=== Events === | === Events === | ||
=== Constants === | === Constants === |
Revision as of 05:27, 15 November 2022
Supported platforms:
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.
Methodstable.clone duplicates a table |
EventsConstants |