PICO-8 Wiki
Advertisement
unpack( tbl, [i,] [j] )
Explode an indexed table into values.
tbl
The Table
i
start index (optional)
j
end index (optional)Returns the elements from the given table. This function is equivalent to
return tbl[i], tbl[i+1], ···, tbl[j]

By default, i is 1 and j is #tbl.

Advertisement