lua-table
Moon, separate string with numbers in a table!
I have a system to redeem codes, in case I would put in a text file something like this:
HFGD65,{2454,2454},1,1
Series:
... arate by": "
The first would return string (the code) -- HB7S5S
And the other(3) would return:
Number:
(Table)
1
1
Vector ordering
I'm learning about vectors and matrices, and I haven't been able to solve a question in the right way for quite some time.
T ... end
end
CriarVetor()
Ordenar()
ReOrdenar()
for b=1, tamanho do
print("A posicao "..b.." do vetor vale: "..vetor[b])
end