Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use n for total number of elements #30

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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