Posted 10 July 2013 - 05:37 PM
I need help with tables, I want to insert a value into a table that exists within a table.
for example:
Is there any way of me inserting like so without using textutils.serialize?
I got an error for a code I was using
for example:
a = {}
a[1] = {x = 5, y = 4}
print(a[1][x])
gives me just a blank space.Is there any way of me inserting like so without using textutils.serialize?
I got an error for a code I was using
a = {}
a[1][x] = 5
and it said "index expected, got nil"