sequence
From the Lua 5.2 reference manual §2.1:
We use the term sequence to denote a table where the set of all positive numeric keys is equal to {1..n} for some integer n, which is called the length of the sequence (see §3.4.6).
sequence = { 'foo', 'bar', 'baz', 'qux', --[[ ... ]] } -- or sequence = { [1] = 'foo', [2] = 'bar', [3] = 'baz', [4] = 'qux', -- [n] = ..., }
© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/sequence