3 ms·
You can use strings as keys. In fact, that’s how you can create objects. Also negative integers can be used as keys. But array operations will malfunction if yo
by lrossi 6y ago
You can use strings as keys. In fact, that’s how you can create objects. Also negative integers can be used as keys. But array operations will malfunction if you attempt to apply them to such a table.
Here are some examples: http://www.lua.org/pil/2.5.html http://www.lua.org/pil/2.5.html and http://www.lua.org/pil/11.1.html http://www.lua.org/pil/11.1.html