Difference between revisions of "flat table"

(Created page with "We use the term flat table to denote a table which doesn't contain any other (nested) tables. <source lang='lua'> -- Flat table flatTable = { 'foo', 'bar',...")
 
m (fixed i18n (Is not sequence's i18n))
Line 24: Line 24:
 
[[Category:Lua]]
 
[[Category:Lua]]
 
== Other Languages ==
 
== Other Languages ==
{{i18n|sequence}}
+
{{i18n|flat table}}

Revision as of 01:38, 18 August 2016

We use the term flat table to denote a table which doesn't contain any other (nested) tables.

-- Flat table
flatTable = { 
    'foo', 
    'bar', 
    'baz', 
    'qux', 
    -- ... 
}

-- Nested tables
nestedTables = { 
    foo = {
        'bar', 
        'baz', 
        'qux', 
    },
    -- ... 
}

Other Languages