Added 54 minutes later
Is a comma before the end of the loop mandatory?
Added 43 minutes later
And one more question:
I have an array, for example, a = {1, 2, 3} I have variables, for example, a1 = 0 and b1 = 0 But when I try to do this: b1 = a[a1], it doesn't work, even though the value should be a number. How can I do this?
a = {1,2,3}
a1 = 0
b1 = 0
b1 = a[a1] --error