|
| 29 Mar 2014 02:23 PM |
| I'm currently working on an app that I'm coding in Lua. It basically involves a lot of bullets being tracked using a table. I was wondering if there is any difference between ipairs and pairs. Thanks. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 29 Mar 2014 02:36 PM |
| ipairs only goes over numeric-keys |
|
|
| Report Abuse |
|
|
|
| 29 Mar 2014 02:44 PM |
| So it will terminate at a non-numerical key? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|