Table

table.pack

Returns a new table with all arguments stored into keys 1, 2, etc. and with a field "n" with the total number of arguments.

Syntax

pack(...)  returns  table