Table (type)

From ComputerCraft Wiki
Revision as of 14:39, 2 February 2013 by AfterLifeLochie (Talk | contribs) (Stub resolved.)

Jump to: navigation, search

The table type implements associative arrays that can be indexed with any value (except nil). Tables can contain values of all types (except nil), and are the sole data structuring mechanism in Lua; they can be used to represent ordinary arrays, symbol tables, sets, records, graphs, trees, anything. See the Tables tutorial for more information on how and why Tables are important.

For a more in-depth and concise explanation of types, please consolidate with the Lua 5.1 Official Manual.