|
|
|
|
|
by DavidVoid
254 days ago
|
|
And a lot of the time it makes the syntax more compact than it would be with 0-indexing. for i=1,#arr do
foo(arr[i])
end
I don't feel that strongly for or against either way of indexing though, they both have their pros and cons. |
|