> stuff = { [0]="one", [1]="two" } > print(stuff[0]) one
EDIT: even this works
> stuff = { [0]="one", "two", "three" } > print(stuff[0]) -> one > print(stuff[1]) -> two
In this case, is it possible to make iteration start with the element at index 0? Maybe by implementing a custom version of `ipairs`?
> stuff = { [0]="one", "two", "three" } > for k,v in pairs(stuff) do print(v) end
> for i=0,#stuff do print(stuff[i]) end
EDIT: even this works