minus-squarepelya@lemmy.worldtoProgrammer Humor@programming.dev•Another smart movelinkfedilinkarrow-up15·9 hours agoIn Lua all arrays are just dictionaries with integer keys, a[0] will work just fine. It’s just that all built-in functions will expect arrays that start with index 1. linkfedilink
In Lua all arrays are just dictionaries with integer keys, a[0] will work just fine. It’s just that all built-in functions will expect arrays that start with index 1.