1
I have a problem, I need to do the following:
I have a variable that stores a number (x=3 for example)
And I have a chart like this:
tabela={}
tabela.var1='teste1'
tabela.var2='teste2'
tabela.var2='teste3'
tabela.var2='teste4'
I need to access this table by joining tabela.var  with the variable x (in case 3), it would look like this 
print(tabela.var..x)
But the value of tabela.var is nil. Have some way to make only after concatenation the program read as a variable?
In most similar cases it is better to do
varbe a subtable you can access withtabela.var[1],tabela.var[2],tabela.var[3], etc..– hugomg