I can't understand how I can set a value from an array in a loop.
This is my simplified code:
Sequence = {7,1,2,3}
for count = 1, 4, 1 do
print(Sequence[count])
num = Sequence[count]
print(num)
end
First function is OK instead second prints always a nil value. Why?
Thanks