Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

What is the difference between pairs, ipairs, and next?

Asked by 5 years ago

What is the difference between pairs, ipairs, and next? I'm struggling to find my answers. Thanks so much!

1 answer

Log in to vote
-1
Answered by
Vain_p 78
5 years ago

I am pretty sure pairs go thru every value of a table and ipairs does the same but stops as soon as it hits a number value or a nil value I may not be 100% right

Ad

Answer this question