Skip to content

Conversation

Ayplow
Copy link

@Ayplow Ayplow commented Aug 5, 2019

Since lua 5.2, lua has had an 'official' way of representing a list's length - table.pack returns a table with a n field containing the total number of parameters

Since lua 5.2, lua has had an 'official' way of representing a list's length - [table.pack](https://www.lua.org/manual/5.2/manual.html#pdf-table.pack) returns a table with a `n` field containing the total number of parameters
@Ayplow Ayplow changed the title Use n for total number of parameters Use n for total number of elements Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant