table

a key/value container

a new table can be created with brackets syntax:

local table1 = {} // empty table
local table2 = { a = 1, b = "hello", c = 5.57 }

Methods

integer len() returns the number of key/value pairs in this table
clear() removes all key/value pairs from the table


Creative Commons LicenseThis work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.