Posted 23 March 2013 - 04:04 PM
Hey, I was messing around with tables and I stumbled upon a problem. I'm not sure how to add things into "sub-tables".
Eg. If I had a table like so:
How would I add var2 into exampleTable[1]?
I've tried using table.insert() but I can't get it to put things inside the second table. Also, I'm really bad at explaining things. So this might not make any sense.
Eg. If I had a table like so:
local exampleTable = {
{
var1 = "Test"
}
}
How would I add var2 into exampleTable[1]?
I've tried using table.insert() but I can't get it to put things inside the second table. Also, I'm really bad at explaining things. So this might not make any sense.