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',...") |
Parallax7d (talk | contribs) |
||
(One intermediate revision by one other user not shown) | |||
Line 21: | Line 21: | ||
} | } | ||
</source> | </source> | ||
+ | |||
+ | In the context of love threads, a flat table is understood to not contain tables, functions, userData or a metatable. | ||
[[Category:Lua]] | [[Category:Lua]] | ||
== Other Languages == | == Other Languages == | ||
− | {{i18n| | + | {{i18n|flat table}} |
Latest revision as of 23:46, 4 November 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',
},
-- ...
}
In the context of love threads, a flat table is understood to not contain tables, functions, userData or a metatable.
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info