This is an example code. So I've first created a table with 3 rows:
Code: Select all
map = {
{1, 1, 1, 1},
{0, 0, 0, 0},
{2, 3, 2, 3}
}
Code: Select all
table.insert(map, 3,{5})
How do I use table.insert and table.remove for a 2 dimensional table
and/or is there a way to move the first column to the last place and changing the values ?
Thanks in advance and sorry for my bad English!!