So ipairs and pairs these normally show up in for loops some for loops are for i = 1,blah blah do for i,v in pairs/ipairs do and for_, blah in pairs/ipairs do but for i,v and for_, blah loops use ipairs and pairs and I really want to know the difference about them so what are the difference? I never used ipairs before so I really want to know the difference

2 comments

0

I forgot to put the "()" in some of the for loops

1

Please try to do a quick search on simple questions like this before asking: https://scriptinghelpers.org/questions/2725/difference-between-pairs-ipairs-and-next