Table.create

From GiderosMobile
Revision as of 15:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2022.3
Class: table

Description

Creates a table with the array portion allocated to the given number of elements, optionally filled with the given value. <syntaxhighlight lang="lua"> (table) = table.create(count,value) </source>

Parameters

count: (number) number of elements
value: (any) value to fill the table with optional

Return values

Returns (table) the newly created table