This always confuses me with Lua.
I have a table like this -
[lua]
local winningsTable = {
{ rowID = 0, amountWon = 0 }
}
[/lua]
Can happily set values using winningsTable[“rowID”] = 10.
But how do add another record ?
Now if I know how many I need to add I can do this when setting up the table but if I don’t know how many, how do I add them. I know there is a table insert command but that doesn’t seem to work.
Dave