Ipairs
Posted: Tue Aug 09, 2011 3:35 am
Can someone explain ipairs for me? I know the following:
ipairs uses the length of the table selected with 1 as the first value and the # of things in the table and the second.
ipairs uses the number in the table in some form. So, instead of for i=1, #h do print(h) end you can do something else with ipairs to make it simpler.
Sorry, but thank you. I believe these are true about ipairs. If not, feel free to correct me
.
ipairs uses the length of the table selected with 1 as the first value and the # of things in the table and the second.
ipairs uses the number in the table in some form. So, instead of for i=1, #h do print(h) end you can do something else with ipairs to make it simpler.
Sorry, but thank you. I believe these are true about ipairs. If not, feel free to correct me
![Awww :3](./images/smilies/ms-three.png)