by DavidVoid · 1y ago · 0 comments
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. for (0..$#arr) {
foo(arr[$_])
}
Whatever you're feeling is not in starting at one.