Forum
![>](img/i_next.png)
![>](img/icons/cs2d.png)
![>](img/i_next.png)
![>](img/i_next.png)
Adding something to a table.
2 replies![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)
1
table.insert
1
2
3
4
5
6
2
3
4
5
6
a={1,2,3,4,5} table.insert(a,tonumber("6")) for _,key in pairs(a) do 	print(a[key]) end
Output: 123456
![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)
table.insert
a={1,2,3,4,5} table.insert(a,tonumber("6")) for _,key in pairs(a) do 	print(a[key]) end